ip-forwarding with NetworkManager ?
Is there a way to do IP-forwarding with the NetworkManager ?
|
There's a box you can check to enable that, although I've never had it work for me. Not that I've tried much with the GUI tool.
# echo 1 > /proc/sys/net/ipv4/ip_forward # iptables -t nat -A POSTROUTING -o enp1s0 -j MASQUERADE Where the interface is the internet facing one. Is what normally works for me. Various cons of double nat and reduced MTU values for better responsiveness. But it works. |
Hi,
Normally NetworkManager is not directly linked to ip forwarding. But generally comes along with firewalld package. And firewalld does port forwarding. In short: yes, you can do port forwarding with firewalld, using its command line firewall-cmd instead of iptables. |
All times are GMT -5. The time now is 05:45 AM. |