Port filtering
Posted: Mon Sep 08, 2014 12:15 pm
Hi,
I have a multiple OpenVpn clients connected to my server some of these client are Android.
I need todo port filtering ( in order to enable specific ports through the clients).
Can some one tell me how to do it?
Server
anyway I need some help here.
Thanks In advance,
Shiran
I have a multiple OpenVpn clients connected to my server some of these client are Android.
I need todo port filtering ( in order to enable specific ports through the clients).
Can some one tell me how to do it?
Server
Clientport 1194
proto tcp
dev tun
ca "C:\\Program Files (x86)\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files (x86)\\OpenVPN\\config\\server.crt"
key "C:\\Program Files (x86)\\OpenVPN\\config\\server.key" # This file should be kept secret
dh "C:\\Program Files (x86)\\OpenVPN\\config\\dh1024.pem"
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
ifconfig 10.8.0.1 255.255.255.0
route 192.168.11.0 255.255.255.0
route 192.168.12.0 255.255.255.0
route 192.168.13.0 255.255.255.0
route 192.168.14.0 255.255.255.0
client-config-dir ccd
keepalive 10 120
comp-lzo
status openvpn-status.log
verb 6
I have some CCD files for the routing,client
dev tun
proto tcp
remote 10.1.11.10 9011
remote my-server-2 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\Program Files (x86)\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files (x86)\\OpenVPN\\config\\sor1.crt"
key "C:\\Program Files (x86)\\OpenVPN\\config\\sor1.key"
ns-cert-type server
comp-lzo
verb 3
anyway I need some help here.
Thanks In advance,
Shiran