margentieri
Occasional Visitor
Hi all,
I have an ac68u running merlin 378.51.
A little background info first:
I have both OpenVPN servers running. One of the two servers I have set up for some of my friends currently living abroad to use (i.e. China), and because I'm not the one using this VPN, I want to limit access to my LAN and NAS for all clients connected to my network through this 2nd VPN. This VPN's port is 1195, and subnet is 10.2.0.0
I have successfully set an iptables rule in my firewall-start script to block access to my LAN for these clients. The specific rule I used is
iptables -I FORWARD -s 10.2.0.0/24 -d 192.168.1.0/24 -j DROP
I also have a hard drive plugged into my router to serve as NAS. My above rule does not prevent access to this drive.
So my question to you all: how can I completely block all access to this drive for clients connecting through this VPN? All forms of connection including Samba and DLNA should be blocked.
Is there a way I can assign a single port through which all traffic to the USB port in the router that this drive is attached to must pass through? Or some other way to explicitly identify the USB port / hard drive in question? Or any other way to achieve my goal really.
Thanks!
I have an ac68u running merlin 378.51.
A little background info first:
I have both OpenVPN servers running. One of the two servers I have set up for some of my friends currently living abroad to use (i.e. China), and because I'm not the one using this VPN, I want to limit access to my LAN and NAS for all clients connected to my network through this 2nd VPN. This VPN's port is 1195, and subnet is 10.2.0.0
I have successfully set an iptables rule in my firewall-start script to block access to my LAN for these clients. The specific rule I used is
iptables -I FORWARD -s 10.2.0.0/24 -d 192.168.1.0/24 -j DROP
I also have a hard drive plugged into my router to serve as NAS. My above rule does not prevent access to this drive.
So my question to you all: how can I completely block all access to this drive for clients connecting through this VPN? All forms of connection including Samba and DLNA should be blocked.
Is there a way I can assign a single port through which all traffic to the USB port in the router that this drive is attached to must pass through? Or some other way to explicitly identify the USB port / hard drive in question? Or any other way to achieve my goal really.
Thanks!