Results 1 to 2 of 2
I have a firewall between two different subnets. The reason for the second subnet within the internal network is because I have a mail server that I want to protect. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-07-2010 #1
- Join Date
- Jul 2010
Two subnets can't talk to each other? My Linux firewall question...
I have a firewall between two different subnets. The reason for the second subnet within the internal network is because I have a mail server that I want to protect. However, we need to make sure that the mail server can communicate with the internal network as well.
Mail server is 192.168.100.100
Firewall is 192.168.100.1 and 10.110.101.5 (and its gateway is 10.110.101.1 to the router)
I go to another workstation and ping the mail server. I can't. It times out.
I do the same from the mail server. It times out as well.
What am I doing wrong?
I'm a iptables newbie, so be gentle. Yes, I have read the docs, but would appreciate a little assist.
- 07-07-2010 #2
most likely, you need to add a route on the 10.110.101.1 router to tell it how to get to the other network
you will use route command to do this
how to do this at bootup/network iface up will depend on the distro, but you can manually do it at any time with the command above (as root or with sudo)