nick_max
Occasional Visitor
Hello gentlemen,
I have a simple, yet complicated issue i need some help with, please.
I have a home router ASUS N66U with ASUS Merlin firmware 380.68_2.
I connect from the internet to my home router through OpenVPN connection. I would like to restrict all connections to my home OpenVPN router to a single one originating from a static IP. All other connections related to OpenVPN i want them dropped. All regular router traffic should be unaffected.
Now, i have added in the iptables INPUT chain the following rules:
iptables -I INPUT 1 -p tcp -i tun21 -s x.x.x.x --dport 443 -j ACCEPT
iptables -I INPUT 2 -i tun21 -j DROP
The problem is that these rules don't work. It's as if they aren't even there.
Is anybody kind enough to help me with my problem, please?
Thank you
I have a simple, yet complicated issue i need some help with, please.
I have a home router ASUS N66U with ASUS Merlin firmware 380.68_2.
I connect from the internet to my home router through OpenVPN connection. I would like to restrict all connections to my home OpenVPN router to a single one originating from a static IP. All other connections related to OpenVPN i want them dropped. All regular router traffic should be unaffected.
Now, i have added in the iptables INPUT chain the following rules:
iptables -I INPUT 1 -p tcp -i tun21 -s x.x.x.x --dport 443 -j ACCEPT
iptables -I INPUT 2 -i tun21 -j DROP
The problem is that these rules don't work. It's as if they aren't even there.
Is anybody kind enough to help me with my problem, please?
Thank you