problem to block customize ip

This forum is for general conversation and user-user networking.
Post Reply
OpenVpn Newbie
Posts: 1
Joined: Sat Jul 25, 2020 8:24 am

problem to block customize ip

Post by hike » Sat Jul 25, 2020 8:34 am

i installed openvpn server for my centos 7 server and it is working fine . but i want to configure it using iptables to customize the LAN access behind the openvpn server.
I used iptables nat configuration like

iptables - t nat -A POSTROUTING -s <vpnserverip subnet> -o <hostinterface> -j MASQUERADE

as result it will access all LAN host behind the openvpn server...but i want to access particular host

how it does ..pls help

Post Reply