What's new

why VPN ignores my DROP rule?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Pila

Regular Contributor
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:
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 address:port. 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.
 

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top