Mailinglist Archive: opensuse (3637 mails)

< Previous Next >
network filter problems
  • From: stephane parenton <sparenton@xxxxxxxxxxx>
  • Date: Mon, 14 May 2001 11:20:32 +0200
  • Message-id: <3AFFA360.4E881DFD@xxxxxxxxxxx>
Hi,

I run a DNS box (SuSE 7.0) and I experience some problem reaching sites.... my public adress is 62.161.xxx.xxx and i can't reach sites that start with 62.yyy.yyy.yyy.... What could be the trouble ?....


I run this small filter command :

#!/bin/sh
echo 1 > /proc/sys/net/ipv4/ip_forward
/sbin/ipchains -F forward
/sbin/ipchains -P forward DENY
route add -net 62.161.161.192 netmask 255.255.255.224 gw 62.161.161.222 tr0:0
route add 192.168.0.3 gw 62.161.161.253
route add default gw 62.161.161.254
/sbin/ipchains -A forward -s 0.0.0.0/0.0.0.0 -d 62.161.161.194/255.255.255.255 -j ACCEPT
/sbin/ipchains -A forward -s 0.0.0.0/0.0.0.0 -d 62.161.161.195/255.255.255.255 -j ACCEPT
/sbin/ipchains -A forward -s 62.161.161.194/255.255.255.255 -d 0.0.0.0/0.0.0.0 -j ACCEPT
/sbin/ipchains -A forward -s 62.161.161.195/255.255.255.255 -d 0.0.0.0/0.0.0.0 -j ACCEPT
/sbin/ipchains -A forward -s 192.168.0.0/255.255.0.0 -d 0.0.0.0/0.0.0.0 -j MASQ

TIA

Stephane

< Previous Next >
This Thread
  • No further messages