Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


OpenVPN Question
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

OpenVPN Question

BellaBella Member
edited June 2014 in Help

Hi. I was hoping someone could help me with IPTables.

I setup openvpn on a OpenVZ VPS from RamNode for me and three other people and I only want it to only access Netflix, meaning I don't want it to be able to access any other site other than Netflix.

How would I do that?

Right now this is the only IPTable I have.

-A POSTROUTING -s 10.2.3.0/255.255.255.0 -j SNAT --to-source MYVPSIPHERE

If anyone was wondering, Netflix's website IP is 69.53.236.17

Thanks

Comments

  • Custom DNS server? Block all sites other than netflix

  • iptables -P FORWARD DROP
    iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
    iptables -A FORWARD -s 10.2.3.0/24 -d 69.53.236.17 -j ACCEPT
    
Sign In or Register to comment.