Yes sorry I'm trying my best to explain very new to this subject, I want to restrict PC2 to all internet access except when I connect thru openvpn.
Do I need a second router just for PC2?
Hope I can explain it better, this is all new to me I didn't know what's a gateway a week ago.
The ac86u is running vpn server, PC1 is my dekstop and PC2 is basically NVR connected to IP cameras.
I'm using openvpn connect on mobile and get notifications from the cameras, the switch is smart managed TSG105E, is this a safe setup?
Thank you all for your patience.
#!/bin/sh
for ACTION in -D -I ; do
iptables $ACTION FORWARD -i br0 -o eth0 -s 10.14.16.81/32 -j REJECT 2>/dev/null
iptables $ACTION FORWARD -i br0 -o tun1+ -s 10.14.16.81/32 -j REJECT 2>/dev/null
iptables $ACTION FORWARD -o br0 -i eth0 -d 10.14.16.81/32 -j DROP 2>/dev/null
iptables $ACTION FORWARD -o br0 -i tun1+ -d 10.14.16.81/32 -j DROP 2>/dev/null
done
We use essential cookies to make this site work, and optional cookies to enhance your experience.