Fedora VPN unable to see network resources other than hba
Posted: Mon May 03, 2021 5:50 pm
I have no clue why but when connecting to my Amahi (Fedora based) server via OpenVPN I can only reach HDA but nothing else in the network. I did not have this problem before and really cannot grasp why it is happening now. If I run the following command (as root)
other connections are possible. If I restart the server, any changes revert and the problem begins all over again.
Two questions:
1. How do I diagnose what caused this?
2. Is there a way to make the command persistent on boot?
Code: Select all
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
Two questions:
1. How do I diagnose what caused this?
2. Is there a way to make the command persistent on boot?