Openvpn server (Ping lan client)

Ask questions about your Access Server configuration here.
Post Reply
User avatar
geppo
OpenVpn Newbie
Posts: 3
Joined: Thu Jun 25, 2020 4:01 pm

Openvpn server (Ping lan client)

Post by geppo » Thu Jun 25, 2020 4:10 pm

Good morning, I hope I wasn't wrong ...
I have an ubuntu server with openvpn "server"
my client connects to the openvpn "server" network ... everything ok
now I would like to access my client's subnet ..
is it difficult to achieve?
Place my setup (Simple)

Server: ip lan 10.0.1.0/24

Server config
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh.pem
auth SHA512
tls-crypt tc.key
topology subnet
server 10.8.0.0 255.255.255.0
push "redirect-gateway def1 bypass-dhcp"
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
keepalive 10 120
cipher AES-256-CBC
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
crl-verify crl.pem
explicit-exit-notify


Client ip lan 192.168.50.0/24
Client config
client
dev tun
proto udp
remote xxx.xxx.xxx.xxx 1194
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
auth SHA512
cipher AES-256-CBC
ignore-unknown-option block-outside-dns
block-outside-dns
verb 3
<ca>

With this configuration I can access with my client ... in my lan (All perfect)

I would just like to log into the client lan to access some ip resources

Thanks for any help
Last edited by Pippin on Thu Jun 25, 2020 4:20 pm, edited 1 time in total.
Reason: Formatting

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 7389
Joined: Fri Jun 03, 2016 1:17 pm

Re: Openvpn server (Ping lan client)

Post by TinCanTech » Thu Jun 25, 2020 4:16 pm

There is a section in the Howto which describes exactly what you need.

User avatar
geppo
OpenVpn Newbie
Posts: 3
Joined: Thu Jun 25, 2020 4:01 pm

Re: Openvpn server (Ping lan client)

Post by geppo » Thu Jun 25, 2020 4:22 pm

Thanks for your quick reply .. I have tried a lot, but I have not found anything .. you could kindly post a link, thank you very much

User avatar
Pippin
Forum Team
Posts: 799
Joined: Wed Jul 01, 2015 8:03 am

Re: Openvpn server (Ping lan client)

Post by Pippin » Thu Jun 25, 2020 4:27 pm

Here comes the spoon: "openvpn howto"
;)

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 7389
Joined: Fri Jun 03, 2016 1:17 pm

Re: Openvpn server (Ping lan client)

Post by TinCanTech » Thu Jun 25, 2020 4:50 pm

Pippin wrote:
Thu Jun 25, 2020 4:27 pm
Here comes the spoon
There is no spoon :mrgreen:
geppo wrote:
Thu Jun 25, 2020 4:22 pm
you could kindly post a link
Thistle get you started:
viewtopic.php?f=30&t=22603

User avatar
geppo
OpenVpn Newbie
Posts: 3
Joined: Thu Jun 25, 2020 4:01 pm

Re: Openvpn server (Ping lan client)

Post by geppo » Thu Jun 25, 2020 5:04 pm

Yes ! This is my spoon
Hahaha !! Thank you
Gep..

Post Reply