Linux Netfilter discussions
 help / color / mirror / Atom feed
* SNAT Problem / Question
@ 2004-06-18  3:24 Andrew McRory
  2004-06-18 12:31 ` John A. Sullivan III
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew McRory @ 2004-06-18  3:24 UTC (permalink / raw)
  To: netfilter


I am having problem getting SNAT to work with tn3270 clients. My network 
is using private IP address and is connected via freeswan ipsec to the 
remote server. Since a large number of clients connect to the server they 
require that all incoming connections be from our public IP. I setup this 
rule:

  $IPT -t nat -A POSTROUTING -o ipsec0 -j SNAT -d <REMOTE_IP> \
    --to <OUR_PUBLIC_IP>

and verified with tcpdump that the packets going out on the ipsec0 
interface have been SNAT'ed properly. With a single client connection 
everything operates beautifully however when a second client connects the 
first client session breaks and the server responds with 

	"Please close your telnet session. A connection establishment 
	error has been detected."

I am guessing that this is having to do with connection tracking but I am 
not sure. Any help is greatly appreciated as I have not found anything in 
hours of searching!!

Regards,

-- 
Andrew McRory - President
Linux Systems Engineers, Inc.
PO BOX 3791
Tallahassee, FL 32315
Office	850-224-5737
Office	850-575-7213
Mobile	850-294-7567




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-06-18 17:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-18  3:24 SNAT Problem / Question Andrew McRory
2004-06-18 12:31 ` John A. Sullivan III
2004-06-18 17:57   ` Andrew McRory

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox