What's new

why VPN ignores my DROP rule?

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.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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