[Lvlug] Re: iptables question regarding asterisk
Faber Fedor
faber at linuxnj.com
Thu Jul 7 12:45:42 EDT 2005
On 07/07/05 11:34 -0400, bigpaws at epix.net wrote:
>
> Try this example.
>
> iptables -t nat -A PREROUTING -p tcp -d 10.0.0.1 --dport 2000:3000 -j
> DNAT --to 10.0.0.1:3333
This reroutes ports 2000 - 3000 to port 3333. I think what Dann wants
is to reroute port ip_one:2000 to port ip_two:2000, ip_one:2001 to port
ip_two:20001, etc.
BTW, is there a reason you don't edit out the unnecessary lines when you
reply?
--
Regards,
Faber Fedor
President
Linux New Jersey, Inc.
908-320-0357
800-706-0701
http://www.linuxnj.com
More information about the Lvlug
mailing list