I'm trying to setup a similar network.
o any client (from the Internet) [client]
o a linux-firwall [fw]
o a web-server behind the firewall [www]
The masq-command was like:
ipmasqadm portfw -a -P tcp -L fw 80 -R www 80
After telnetting from the client to fw:80, I can see that www
sends the answer directly to the client. The firewall does not
change the source-address. This means, that the client won't
accept the answer, because it was waiting for an answer from fw.
Below you can see the tcpdump.
I'm sure I'm confusing something or just missed a step, so please
give me a hint.
Thanks
Emmerich
14:12:44.740489 client.1054 > fw.80: S 3283299535:3283299535(0)
win 32120 <mss 1460,sackOK,timestamp 4475921[|tcp]> (DF)
14:12:44.741111 www.www > client.1054: S 687831809:687831809(0)
ack 3283299536 win 32120 <mss 1460,sackOK,timestamp 2237121[|tcp]>
(DF)
14:12:47.732422 client.1054 > fw.80: S 3283299535:3283299535(0)
win 32120 <mss 1460,sackOK,timestamp 4476221[|tcp]> (DF)
14:12:47.732955 www.www > client.1054: S 687831809:687831809(0)
ack 3283299536 win 32120 <mss 1460,sackOK,timestamp 2237421[|tcp]>
(DF)
14:12:47.772975 www.www > client.1054: S 687831809:687831809(0)
ack 3283299536 win 32120 <mss 1460,sackOK,timestamp 2237425[|tcp]>
(DF)
__________________________________________________________________
Emmerich Eggler emm@eggler.ch
Eggler Communications +41 (0)79 438 75 11
Wannerstrasse 3/39 +41 (0) 1 463 43 73
CH-8045 Zuerich http://www.eggler.ch
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu