Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

iptables: redirecting an outgoing connection to another machine

Reply
 
Thread Tools Display Modes
  #1  
Old 06-11-2007, 05:37 PM
Default iptables: redirecting an outgoing connection to another machine



iptables -t nat -A OUTPUT --dst 333.333.333.333 -p tcp --dport 389 -j
DNAT --to-destination 444.444.444.444



bl8n8r
Reply With Quote
  #2  
Old 06-12-2007, 03:23 AM
Dan N
Guest
 
Posts: n/a
Default Re: iptables: redirecting an outgoing connection to another machine

On Mon, 11 Jun 2007 09:37:25 -0700, bl8n8r wrote:

> iptables -t nat -A OUTPUT --dst 333.333.333.333 -p tcp --dport 389 -j
> DNAT --to-destination 444.444.444.444


Hmmmmm. You'll have fun trying to use those ip addresses.

Dan
Reply With Quote
Reply

Tags
connection, iptables, machine, outgoing, redirecting

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 03:55 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.