Force all internet traffic through tun0 (Vpn Interface)
I am trying to configure iptables on one of my computers to ONLY be allowed to do the following:
1. The computer IS allowed to be accessed by other computers on the LOCAL network.
2. ALL internet traffic (IN and OUT) MUST use the tun0 (OpenVPN tunnel) interface.
3. ALL other traffic that doesn't apply to the above two rules MUST be DROPPED.
My iptables script seems to be working the way I want it to, but I wanted another set of eyes to see if they can catch any "security holes" I may be missing regarding the rules I described above. It is very important that this computer can only be allowed these specific rules.
I will take any suggestions that anyone may have.
Thanks for your time!
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread should be closed because it is a duplicate of: https://www.linuxquestions.org/quest...erface-896457/
|All times are GMT -5. The time now is 05:08 PM.|