Re: How to add tcp/udp snat in one line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 22, 2018 at 09:15:18AM +0800, Zheng konia wrote:
> Hi,
>
>      Normally, I am using two lines setting snat
>
>     > meta l4proto tcp oif "eth0" snat to 10.0.0.11:10000-60000
>     > meta l4proto udp oif "eth0" snat to 10.0.0.11:10000-60000
>
>     how can i put them in one line?
>
>     Thanks.
You have to have separate rules for tcp and udp, at least for now.

Cheers ... Duncan.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux