Tuesday, June 23, 2020

enable port forwarding on ubuntu



check current value
sysctl net.ipv4.ip_forward
set to enabled
sudo sysctl net.ipv4.ip_forward=1
Persist across boots
sudo nano /etc/sysctl.conf
# Uncomment the next line to enable packet forwarding for IPv4
#net.ipv4.ip_forward=1



reference:

--30--

No comments:

Post a Comment