Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.networking > #1283
| From | Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> |
|---|---|
| Newsgroups | comp.os.linux.networking |
| Subject | Re: Is this a bridging scenario? |
| Date | 2012-04-11 09:33 +0200 |
| Organization | Plouf ! |
| Message-ID | <jm3c41$2bjl$1@saria.nerim.net> (permalink) |
| References | (10 earlier) <41cda2ac-704c-407d-9716-fdd9ddba0011@s10g2000pbc.googlegroups.com> <jlvc4f$u73$1@saria.nerim.net> <f2b02ff3-451d-4079-b537-8af9cd9c2dc0@w17g2000yqe.googlegroups.com> <jm1u90$1rkd$1@saria.nerim.net> <fc43a8f0-0e18-4e9c-b272-53174f4d4382@h10g2000pbi.googlegroups.com> |
Al a écrit : > Tcptrackoutput: > > Client Server State Idle Speed > > 118.92.xx.55:58674 192.168.1.71:80 RESET 1s 0 b/s > 118.92.xx.55:58673 192.168.1.71:80 RESET 1s 0 b/s > 118.92.xx.55:58676 192.168.1.71:80 RESET 1s 0 b/s You wrote : "I open port 5555 on the router and forward it to wlan0 (192.168.1.71)" So I assumed that the connections would arrive at the Linux box on port 5555 : "If the router redirects port 5555 to 192.168.1.71 without changing the destination port" But obviously they arrive on port 80, so you can ignore my rule and just use the one you proposed : iptables -t nat -A PREROUTING -i wlan0 -d 192.168.1.71 -p tcp --dport 80 -j DNAT --to 192.168.70.140 And make sure ip_forward is enabled. > Someone suggested I might need to do something with conntracks? No, unless you also have filtering rules.
Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Is this a bridging scenario? Al <bigal.nz@gmail.com> - 2012-03-24 15:55 -0700
Re: Is this a bridging scenario? Al <bigal.nz@gmail.com> - 2012-03-24 15:57 -0700
Re: Is this a bridging scenario? Aragorn <stryder@telenet.be.invalid> - 2012-03-25 09:26 +0200
Re: Is this a bridging scenario? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-03-25 10:56 +0200
Re: Is this a bridging scenario? Aragorn <stryder@telenet.be.invalid> - 2012-03-25 12:19 +0200
Re: Is this a bridging scenario? Al <bigal.nz@gmail.com> - 2012-04-08 05:00 -0700
Re: Is this a bridging scenario? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-04-08 14:20 +0200
Re: Is this a bridging scenario? Al <bigal.nz@gmail.com> - 2012-04-08 06:10 -0700
Re: Is this a bridging scenario? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-04-08 16:28 +0200
Re: Is this a bridging scenario? Al <bigal.nz@gmail.com> - 2012-04-08 12:39 -0700
Re: Is this a bridging scenario? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-04-08 22:32 +0200
Re: Is this a bridging scenario? Al <bigal.nz@gmail.com> - 2012-04-09 08:28 -0700
Re: Is this a bridging scenario? Scott Hemphill <hemphill@hemphills.net> - 2012-04-09 12:41 -0400
Re: Is this a bridging scenario? Al <bigal.nz@gmail.com> - 2012-04-09 11:52 -0700
Re: Is this a bridging scenario? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-04-09 21:09 +0200
Re: Is this a bridging scenario? Al <bigal.nz@gmail.com> - 2012-04-10 01:56 -0700
Re: Is this a bridging scenario? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-04-10 20:30 +0200
Re: Is this a bridging scenario? Al <bigal.nz@gmail.com> - 2012-04-10 16:30 -0700
Re: Is this a bridging scenario? Al <bigal.nz@gmail.com> - 2012-04-10 19:23 -0700
Re: Is this a bridging scenario? Al <bigal.nz@gmail.com> - 2012-04-10 22:54 -0700
Re: Is this a bridging scenario? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-04-11 09:33 +0200
Re: Is this a bridging scenario? Scott Hemphill <hemphill@hemphills.net> - 2012-04-09 18:19 -0400
csiph-web