Re: forwarding iptable packets

2006-02-01 Thread Edward Shornock
On Wed, Feb 01, 2006 at 11:32:08AM -0600, anoop aryal wrote: > if it's *from* the LAN *to* the internet, shouldn't it be: [..] Oops...I misread that. Yeah, he's probably missing the SNAT or MASQUERADE target if he's trying to get *out* to the Internet. If I properly read the OP the first time, my

Re: forwarding iptable packets

2006-02-01 Thread anoop aryal
On Wednesday 01 February 2006 11:32 am, anoop aryal wrote: > On Wednesday 01 February 2006 01:18 am, Edward Shornock wrote: > > On Thu, Feb 02, 2006 at 07:11:07AM +0800, Jon Miller wrote: > > > I'm having a major problem trying to forward packets from either a > > > workstation of the LAn to the I

Re: forwarding iptable packets

2006-02-01 Thread anoop aryal
On Wednesday 01 February 2006 01:18 am, Edward Shornock wrote: > On Thu, Feb 02, 2006 at 07:11:07AM +0800, Jon Miller wrote: > > I'm having a major problem trying to forward packets from either a > > workstation of the LAn to the Internet. I want to be sure I'm doing > > this correctly. > > > > I

Re: forwarding iptable packets

2006-01-31 Thread Edward Shornock
On Thu, Feb 02, 2006 at 07:11:07AM +0800, Jon Miller wrote: > I'm having a major problem trying to forward packets from either a > workstation of the LAn to the Internet. I want to be sure I'm doing > this correctly. > I set a forward rule: > $IPT -A FORWARD -i $INT_IFACE -o eth1 -p tcp --dport

forwarding iptable packets

2006-01-31 Thread Jon Miller
I'm having a major problem trying to forward packets from either a workstation of the LAn to the Internet. I want to be sure I'm doing this correctly. I set a forward rule: $IPT -A FORWARD -i $INT_IFACE -o eth1 -p tcp --dport 1262 -j ACCEPT Then I set a PREROUTING rule $IPT -A PREROUTING -i $EX