Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Proxy arp

Hello Guys,
               I am trying to setup a proxy arp here with this asl. This is what I am doing right now. I am no great artist so I am not going to even try and do ascii art here. 
This is my plan. I have an asl box with 3 nics. One is for the external , the second one is for my internal network and the third one is for my DMZ. 
What I have been trying to do is to give nic #1 and #3 (external and DMZ) the same IP address  x.x.x.147 so that I can simply stick my public IP's on any box in DMZ and let them be visible to the net. I only have one set of public IP's and cannot get a "transfer network".And I cannot change the ip address of my internal setup.Plus I cannot afford to "dnat" my servers in the DMZ.When I try to add another IP of the same subnet as my external NIC(this is the subnet that is in the DMZ) Webmin does not allow me to do so.I have looked at your filesystem but cannot find where I can manually make my nic and route  changes. Please point me to the name of these files that contain these info and their location. I tried to use "find" but came up with nothing since I was only guessing the name of the files.
  I know that with the 2.4kernel it is possible since I got it to work one time with a 2.4 kernel( by simply setting both nics to the same address and fiddling with my route tables using "ip route"and turning on proxy_arp" .What I did with "ip route" was to remove the default routes . Here is waht I did: (1)set  the external nic to route to the cisco router(Uplink_ISP) and (2) setting the DMZ nic as the route for the entire subnet. I would like to know if and how I get to make such a solution work with asl. 
   Thanks a lot BJ


This thread was automatically locked due to age.
Parents
  • Hi Ben,

    ultimately, it is possible to do almost everything with an ASL, but there are two major caveats:
    1) This is not supported, and will afford tweaking, time, trial and error.
    2) (In most cases) you can't use the Webadmin.

    You can make changes to your NIC data in 
    /etc/wfe/conf/netzkartendata

    and your routes are stored in 
    /etc/wfe/conf/netdata

    I guess you know how to turn on proxy arp. 
    At last, one warning: I dont know what consequences might occur when working with proxy arp. Good luck tweaking your boxx  [:)]

    andreas
  • Hi...

    There is a fundermental problem with placing the same IP address on the INT and DMZ interfaces. This violates so the  RFC's. An IP address does NOT refer to a machine. It refers to an address. In machines with one NIC there is only one address so things line up.

    When you have more than one NIC, you need a UNIQUE IP address for each NIC according to the standard.

    A much nicer implementation would be to give the DMZ and the INT Network Cards unique addresses from within your address space. I think this would work better for you, especially if you have enough addresses.

    Darryl
Reply
  • Hi...

    There is a fundermental problem with placing the same IP address on the INT and DMZ interfaces. This violates so the  RFC's. An IP address does NOT refer to a machine. It refers to an address. In machines with one NIC there is only one address so things line up.

    When you have more than one NIC, you need a UNIQUE IP address for each NIC according to the standard.

    A much nicer implementation would be to give the DMZ and the INT Network Cards unique addresses from within your address space. I think this would work better for you, especially if you have enough addresses.

    Darryl
Children
No Data