| To: | backslash46@xxxxxxxxx |
|---|---|
| Subject: | Re: iptables-problem |
| From: | Francois Romieu <romieu@xxxxxxxxxxxxx> |
| Date: | Sat, 26 Mar 2005 20:13:45 +0100 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <43c5e5aa0503260930732eb697@mail.gmail.com> |
| References: | <43c5e5aa0503260930732eb697@mail.gmail.com> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.4.1i |
amir_sarbazi <amir.sarbazi@xxxxxxxxx> :
[...]
> I used these iptables that SNAT didn't work(Bad
> argument):
> iptables -A PREROUTING -t nat -p tcp -d 217.218.68.20 --dport 80 \
> -j SNAT --to 192.168.1.2:80 or(--to-source 192.168.1.3:80)
$ LANG=en_US man 8 iptables
[...]
SNAT
This target is only valid in the nat table, in the POSTROUTING chain.
^^^^^^^^^^^
--
Ueimor
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH][NET] make all protos partially use sk_prot, Arnaldo Carvalho de Melo |
|---|---|
| Next by Date: | RFC: IPSEC patch 0 for netlink events, jamal |
| Previous by Thread: | iptables-problem, amir_sarbazi |
| Next by Thread: | forwarding, amir_sarbazi |
| Indexes: | [Date] [Thread] [Top] [All Lists] |