Find the answer to your Linux question:
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.
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    1

    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.

    Hawkeye-X

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    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)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •