[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netfilter
Subject:    Re: How to add tcp/udp snat in one line
From:       Duncan Roe <duncan_roe () optusnet ! com ! au>
Date:       2018-05-22 1:28:48
Message-ID: 20180522012847.GA3354 () dimstar ! local ! net
[Download RAW message or body]

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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic