/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! /* ALSO: Don't quote this header. It makes you look lame :-) */ /dev/null wrote: > slackware 7.1, kernel 2.2.16 > > I have one machine (192.168.1.5) on eth1 that I need _all_ internet traffic > from one outside server (x.y.z.12) on eth0 to be directed to. > > I've gotten ipchains to give me the web pages, .12 are not forwarded on to the > correct machine. How can I tell ipchains to masq all traffic coming in from > .12 to .5? ipchains -A input -s x.y.z.12 -m 12 # fwmark packets from x.y.z.12 ipmasqadm mfw -f # init mfw ipmasqadm mfw -A -m 12 -r 192.168.1.5 # forward marked packets > Basically .5 initiates a connection but .12 can't initiate any connections > back to .5. i don't understand this bit. is it a statement of your requirements or a statement of current behaviour? you said you want to forward connectons *from* .12. what do connections from .5 have to do with it? maybe i don't understand what you want. raf _______________________________________________ Masq maillist - [EMAIL PROTECTED] Admin requests can be handled at http://www.indyramp.com/masq-list/ -- THIS INCLUDES UNSUBSCRIBING! or email to [EMAIL PROTECTED] PLEASE read the HOWTO and search the archives before posting. You can start your search at http://www.indyramp.com/masq/ Please keep general linux/unix/pc/internet questions off the list.
