-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi,
Sent with ProtonMail Secure Email. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Friday, January 28th, 2022 at 14:10, openvpn <open...@mmbit.it> wrote: > 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? > Considering server-2 is your VPN server, this sounds like your server-2 firewall. > thanks! > > Pol > > Openvpn-users mailing list > > Openvpn-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/openvpn-users -----BEGIN PGP SIGNATURE----- Version: ProtonMail wsBzBAEBCAAGBQJh9FeFACEJEE+XnPZrkLidFiEECbw9RGejjXJ5xVVVT5ec 9muQuJ2HqAgAkBZ7diEKocPZetADEU91zBQAp8yV1XD+C0sgCfrkHJcOESM0 XMETn0Ywk7cz7OY+CWyPkemKszw8B3gYXqDpL+lpq54VIV1NGbpDBWorEFoj GDwRx9IDDyYuHU766Mhbow3nZYBvloQJaxga2ULfaA4m2hfjIUaJWKYfQroP aHlsQmZNZURls6gkhYvgvkdgKz+HKxqBbYVgQBbwW+Z4pXKnDNv/22khLxkj beM+S4R87c4IiDP3mqIboiE2eFqFstLFCJROOrFL3pcNry0e7lntEtPKbqHc 4DSRljMxESVHx8oVqV5qZTLR4EL4Kdh8dnALAK4rco8FFLLDhhNhgw== =+HQr -----END PGP SIGNATURE-----
publickey - tincantech@protonmail.com - 0x09BC3D44.asc
Description: application/pgp-keys
publickey - tincantech@protonmail.com - 0x09BC3D44.asc.sig
Description: PGP signature
_______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users