Guys, I''m trying to make a rule so the local network would be able to reach a local workstation''s port by using the external IP, is that possible? Here''s my "masq" file: ##################### eth1:192.168.123.24 eth1 192.168.123.254 tcp 8080 eth0 eth1 ###################### Where eth0 is my external interface, eth1 is the local one, 123.24 is the local machine I want to reach and 123.254 is eth1''s IP. It works fine using DNS "views", but I just wonder if It''d work using SNAT. Debian 3.1, shorewall 3.0.5, kernel 2.6.12 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
On Wed, 2006-08-30 at 16:25 -0300, Ismael Milach da Silveira wrote:> Guys, I''m trying to make a rule so the local network would be able to > reach a local workstation''s port by using the external IP, is that > possible? > > Here''s my "masq" file: > ##################### > eth1:192.168.123.24 eth1 192.168.123.254 tcp > 8080 > eth0 eth1 > > ###################### > > Where eth0 is my external interface, eth1 is the local one, 123.24 is > the local machine I want to reach and 123.254 is eth1''s IP. > > It works fine using DNS "views", but I just wonder if It''d work using > SNAT.All of the steps necessary to do this are given in the answer to Shorewall FAQ 2. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
worked great, thanks!!! ----- Original Message ----- From: "Tom Eastep" <teastep@shorewall.net> To: "Shorewall Users" <shorewall-users@lists.sourceforge.net> Sent: Wednesday, August 30, 2006 4:30 PM Subject: Re: [Shorewall-users] SNAT not working> ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642--------------------------------------------------------------------------------> _______________________________________________ > Shorewall-users mailing list > Shorewall-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shorewall-users >------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642