Re: iptables question
Nick Geoghegan <[email protected]>
| Newsgroups | gmane.user-groups.linux.ilug.general |
|---|---|
| Message-ID | <D1AF85B8.3C823%[email protected]> |
It would be handy to give the rules for my assumption. iptables -t nat -A PREROUTING -s 1.2.3.4 -p tcp --dport 80 -j DNAT --to-destination 192.168.1.2:80 iptables -t nat -A PREROUTING -s 2.3.4.5 -p tcp --dport 80 -j DNAT --to-destination 192.168.1.2:80 On 23/06/2015 21:44, "Nick Geoghegan" <[email protected]> wrote: >Just so I¹m reading this right > >1.2.3.4 and 2.3.4.5 will connect to 7.8.9.10 and reroute traffic to >192.168.1.2? -- Irish Linux Users Group --- You received this message because you are subscribed to the Google Groups "ILUG" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send an email to [email protected]. Visit this group at http://groups.google.com/a/linux.ie/group/ilug/. To view this discussion on the web, visit https://groups.google.com/a/linux.ie/d/msgid/ilug/D1AF85B8.3C823%25nick%40nickgeoghegan.net.