Hello All.
I have shorewall set up and things are working just great. I have a
few questions.
In my masq file I have
#INTERFACE SUBNET ADDRESS
eth0 eth1
I need to be able to set up one system on the network assigned in the
network on eth1 for static nat.
If I put this in my nat file will this work for outgoing connections
from this system to the internet using the external IP?
#206.206.xxx.xxx eth0:2 10.10.xxx.xxx
I have my internet nick aliased with eth:0 206.206.xxx.xxx and I have
some dnat rules that are already working so I know I can get my request
from the internet to them.
I just need to have any outgoing request to the internet to appear to
come from 206.206.xxx.xxx from the system in my lan assigned to
10.10.xxx.xxx
Thanks, hope I was clear enough.
Bert
On Fri, 2003-08-08 at 07:13, Bert Beaudin wrote:> Hello All. > I have shorewall set up and things are working just great. I have a > few questions. > > In my masq file I have > #INTERFACE SUBNET ADDRESS > eth0 eth1 > > I need to be able to set up one system on the network assigned in the > network on eth1 for static nat. > If I put this in my nat file will this work for outgoing connections > from this system to the internet using the external IP? > > #206.206.xxx.xxx eth0:2 10.10.xxx.xxxYes -- this is described in the Shorewall Setup Guide and you can also see it in my configuration (http://shorewall.net/myfiles.htm). -Tom -- Tom Eastep \ Shorewall - iptables made easy Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net