Gateway computer configuration question
I have the following network configuration, with computer 1 connected to computer 2, which is connected to the Internet.
default gateway: 192.168.0.1
default gateway: XXX.XXX.XXX.254
Routing table on Computer 2:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.128.0 * 255.255.255.0 U 0 0 0 eth3
XXX.XXX.XXX.0 * 255.255.255.0 U 0 0 0 eth1
192.168.1.0 * 255.255.255.0 U 0 0 0 eth2
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
default XXX.XXX.XXX.254 0.0.0.0 UG 0 0 0 eth1
I have a firewall on Computer 2 that basically looks like this:
I want Computer 1 to be able to connect to the Internet through Computer 2. As a first step, I just want to be able to get a ping response from eth1 on Computer 2 from Computer 1. I can get a ping response from eth2, but not eth1. When I run tcpdump on Computer 2 I can see an ICMP request come in on eth0 and an ICMP reply come in on eth1, but I never see an ICMP reply go out on eth0.
Can anyone see what I need to add in order to be able to get a ping response from eth1 on Computer 1?
The firewall on that link has the rule
Thanks for your reply.
I ended up just giving up on getting a ping response from eth1, and just continuing on with my ultimate goal of getting from Computer 1 out to the Internet. For that purpose, everything works, so I'm not going to worry about it.
|All times are GMT -5. The time now is 11:30 PM.|