Home
DevCentral
Search
Configure Global Search
Log In
Transactions
T640
Change Details
Change Details
Old
New
Diff
To enable outgoing traffic from LXC container, we need the following iptables rule: ``` iptables -t nat -A POSTROUTING -o ens192 -j MASQUERADE ```
To enable outgoing traffic from LXC container, we need the following iptables rule: ``` iptables -t nat -A POSTROUTING -o ens192 -j MASQUERADE ``` Alternatively, we could prepare the list of outgoing traffic needed (I think there is only the need to connect to the port 53 in TCP and UDP for DNS resolution) and allow only such traffic.
To enable outgoing traffic from LXC container, we need the following iptables rule: ``` iptables -t nat -A POSTROUTING -o ens192 -j MASQUERADE ```
Alternatively, we could prepare the list of outgoing traffic needed (I think there is only the need to connect to the port 53 in TCP and UDP for DNS resolution) and allow only such traffic.
Continue