TCP and UDP Proxy Device With NAT=True

using proxy device with nat=true for both TCP and UDP, and only TCP and UDP, do i need to have 2

$ct-$name-$port hostport-$ct-$name-$port proxy connect="$ip:$port" listen="192.168.0.x:$port" nat="true"

one per protocol?

You will need one per protocol.

E.g.

lxc config device add c1 p1 proxy listen=tcp:n.n.n.n:80 connect=tcp:n.n.n.n:80 nat=true
1 Like