OpenVPN server is configured with Push LAN to clients Yes. Now, I want to forbit id to access anything on the server side.
What is wrong with the:
that allows access to my router (192.168.1.1)?
I want to do the opposite, but I do not know how: I wold like to set push LAN to no, and then add just a rule(s) to allow access to one local addressort. As I do not know how to do it, I wanted to drop access to anyhting and then allow just one thing I want. But, it closes down everything else, but not access to the router.
What is wrong with the:
Code:
iptables -I FORWARD -s 10.37.0.0/24 -j DROP
that allows access to my router (192.168.1.1)?
I want to do the opposite, but I do not know how: I wold like to set push LAN to no, and then add just a rule(s) to allow access to one local addressort. As I do not know how to do it, I wanted to drop access to anyhting and then allow just one thing I want. But, it closes down everything else, but not access to the router.