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
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!