"KR" <(E-Mail Removed)> wrote in message
news:40207b5c$(E-Mail Removed)...
> Chris LeBlanc wrote:
> >
> > Here is what I have done so far to no avail...
> >
> > I have setup to ACCEPT input via :
> > ipchains -A input -p tcp -y -m 1 -d 0/0 1085 -j ACCEPT
> >
> > Then I have setup the FORWARD via :
> > ipchains -I forward -p tcp -s 10.10.10.1 1085 -d 192.168.0.3/32 1085 -j
MASQ
>
> So now tcp traffic originating from 10.10.10.1 port 1058 and going to
> 192.168.0.3 port 1085 will be MASQed behind 192.168.0.1. Since
> 10.10.10.1 and 192.168.0.1 is the same computer, no packets that match
> that rule will ever be generated. But that doesn't really matter, since
> it wasn't what you wanted to do anyway.
>
> Leave the first rule (input) as it is, remove the second, and try:
>
> ipmasqadm portfw -P tcp -L 10.10.10.1 1085 -R 192.168.0.3 1085
>
Thank you for the reply.
Although your solution didn't work, it set me on the right path to find the
answer I needed
The following 3 rules were successful, any comments regarding these?
ipchains -I forward -p tcp -d 0/0 -s 192.168.0.3/32 1085 -j MASQ
ipchains -I input -p tcp -y -s 0/0 -d 0/0 1085 -m 2
ipmasqadm mfw -I -m 2 -r 192.168.0.3 1085
Cheers
Chris