Guest_imported
New member
- Jan 1, 1970
- 0
Ping to an ADSL router: “Waiting time for this request exceeded”
I’m trying to convert an OpenBSD 2.9 host into a gateway/firewall from my Windows (98 & NT) LAN to an ADSL router (3Com OfficeConnect Remote 812 ADSL router with 4 Ethernet-ports) connected to the Internet.
LAN windows
192.168.100.x
|
|
192.168.100.6
HOST 2.9
192.A.B.6
|
|
192.A.B.1
812 ADSL ROUTER
|
|
Internet
where A,B are integers between 0 an 200
Done:
LAN:
o The LAN works properly.
HOST 2.9
o I have setup both network cards. (ifconfig: rl0 and rl1)
o Edited:
/etc/rc.conf
ipfilter=YES
ipnat=YES
/etc/sysctl.conf
net.inet.ip.forwarding=1
in order to run ipfiltering and network address translation
o Edited:
/etc/ipf.rules
pass in from any to any
pass out from any to any
for test purposes
/etc/ipnat.rules
map rl0 192.168.100.0/24 -> 192.A.B.0/32 portmap tcp/udp 10000:2000
map rl0 192.168.100.0/24 -> 192.A.B.0/32
to configure que rules for filtering and translation.
o Executed:
# ipf –Fa –f /etc/ipf.rules –E
# ipnat –CF –f /etc/ipnat.rules
or
# sh /etc/netstart
to restart the net with filtering and NAT.
THE PROBLEM:
Successful ping commands:
192.168.100.21 -> 192.168.100.6
192.168.100.21 -> 192.A.B.6
BUT:
192.168.100.21 -/-> 192.A.B.1
192.168.100.21 -/-> “DNS’s” (/etc/resolv.conf is also configured)
192.168.100.21 -/->
The windows host is configured with the right DNSs and it is using 192.168.100.6 as gateway, but I receive: “Waiting time for this request exceeded”.
I’ve done the same function with a SuSE host in 192.168.100.1 and it works right. The problems begin when I switch the Windows Gateway to 192.168.100.6.
Any help will be welcome
Thank you
Ctinte
I’m trying to convert an OpenBSD 2.9 host into a gateway/firewall from my Windows (98 & NT) LAN to an ADSL router (3Com OfficeConnect Remote 812 ADSL router with 4 Ethernet-ports) connected to the Internet.
LAN windows
192.168.100.x
|
|
192.168.100.6
HOST 2.9
192.A.B.6
|
|
192.A.B.1
812 ADSL ROUTER
|
|
Internet
where A,B are integers between 0 an 200
Done:
LAN:
o The LAN works properly.
HOST 2.9
o I have setup both network cards. (ifconfig: rl0 and rl1)
o Edited:
/etc/rc.conf
ipfilter=YES
ipnat=YES
/etc/sysctl.conf
net.inet.ip.forwarding=1
in order to run ipfiltering and network address translation
o Edited:
/etc/ipf.rules
pass in from any to any
pass out from any to any
for test purposes
/etc/ipnat.rules
map rl0 192.168.100.0/24 -> 192.A.B.0/32 portmap tcp/udp 10000:2000
map rl0 192.168.100.0/24 -> 192.A.B.0/32
to configure que rules for filtering and translation.
o Executed:
# ipf –Fa –f /etc/ipf.rules –E
# ipnat –CF –f /etc/ipnat.rules
or
# sh /etc/netstart
to restart the net with filtering and NAT.
THE PROBLEM:
Successful ping commands:
192.168.100.21 -> 192.168.100.6
192.168.100.21 -> 192.A.B.6
BUT:
192.168.100.21 -/-> 192.A.B.1
192.168.100.21 -/-> “DNS’s” (/etc/resolv.conf is also configured)
192.168.100.21 -/->
The windows host is configured with the right DNSs and it is using 192.168.100.6 as gateway, but I receive: “Waiting time for this request exceeded”.
I’ve done the same function with a SuSE host in 192.168.100.1 and it works right. The problems begin when I switch the Windows Gateway to 192.168.100.6.
Any help will be welcome
Thank you
Ctinte