*Dear All*
i need your help please about the below
i need to make my server OpenVPN Client-to-Site and Site-to-Site, i
installed the server correctly, i made two .conf files and every thing
working fine but the server only run client-to-site TUN interface or
site-to-site TUN interface, but i need it to run both TUN to enable C-S S-S
connections, you can check the below conf files
*>> server.conf file*
######################################################
local  192.168.1.50
fast-io

port 1194
proto udp

dev tun


ca ca.crt
cert Controller.crt
key Controller.key  # This file should be kept secret

dh dh2048.pem

server 10.0.0.0 255.255.0.0

tls-exit

ifconfig-pool-persist ipp.txt




client-config-dir ccd
ccd-exclusive


push "redirect-gateway def1 bypass-dhcp"

push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 4.4.4.4"

client-to-client

keepalive 100 200

tls-auth secret.key 0 # This file is secret

cipher DES-EDE3-CBC  # Triple-DES

comp-lzo


user nobody
group nobody

persist-key
persist-tun

status openvpn-status.log


verb 6
##############################################


*>>Connect_to_remote.conf file*
########################################################
dev tun1
remote 192.168.1.134 1194
port 1194
proto udp
ifconfig 10.8.222.40 10.8.222.41
route 80.80.80.0 255.255.255.0
comp-lzo
keepalive 10 60
persist-key
persist-tun
user nobody
group nobody
secret secret.key
###########################################################

thanks in advance for your help.

Thanks & Regards,

*Mahmoud Bahgat*
Network Security Engineer
Maadi, Egypt
Mob:
​+02​
01020036998
E: mahmoud.hassa...@gmail.com
------------------------------------------------------------------------------
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to