Networking Forums

Networking Forums > Computer Networking > Linux Networking > DNAT translate source adress problem

Reply
Thread Tools Display Modes

DNAT translate source adress problem

 
 
giorgi.tsuladze@gmail.com
Guest
Posts: n/a

 
      12-05-2007, 11:42 AM
Hello all
I have fedora core 6 installed.
I am doing dnat (port mapping)
Here is a rule
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 25 -j DNAT --to
192.168.0.233:25
It's doing dnat but in mail server side i can not get source ip
adress.
Can somebody explain me why do i have such problem?

 
Reply With Quote
 
 
 
 
Pascal Hambourg
Guest
Posts: n/a

 
      12-05-2007, 01:41 PM
Hello,

(E-Mail Removed) a écrit :
> I am doing dnat (port mapping)
> Here is a rule
> iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 25 -j DNAT --to
> 192.168.0.233:25


Note that ":25" is optional as the destination port is unchanged.

> It's doing dnat but in mail server side i can not get source ip
> adress.


What do you mean exactly ?
 
Reply With Quote
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prevent access to linux server when mac adress does not match ip adress kris houben Linux Networking 8 11-08-2006 06:52 PM
BRidge Problem with DNAT buzzer Linux Networking 2 07-15-2005 11:42 AM
Iptables, DNAT, Forwarding? problem... Mitch Linux Networking 1 04-19-2004 04:23 PM
Problem with an http adress Sebastien Windows Networking 0 10-10-2003 10:44 AM
iptables DNAT problem from internal net Lothar Behrens Linux Networking 2 09-16-2003 07:49 AM



1 2 3 4 5 6 7 8 9 10 11