Hi folks :-)

I've my office lan with one server (1) linux lamp 192.168.1.100 and wan interface (static IP) for internet, and another server (2) (internal lan 192.168.1.50) with openvpn server

from my home lan (another side) I can ping server 2 in office lan and vice-versa, openvpn works :-) logs of openvpn are ok!

on server 1 I've these rules that allow openvpn working:

iptables -t nat -A PREROUTING -p udp -i enp5s0 --dport 1194 -j DNAT --to-destination 192.168.1.50:1194 iptables -A FORWARD -p udp -d 192.168.1.50 --dport 1194 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT

on server 2 I've also some services as samba, apache, etc.
from internal lan of office lan these services work

the problem is: from home lan I can't connect to apache, samba, etc installed on server 2

what the best way to solve the problem?

thanks!

Pol


_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to