Openvpn server (Ping lan client)

Business solution to host your own OpenVPN server with web management interface and bundled clients.
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

TinCanTech
OpenVPN Protagonist
Posts: 11137
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: 1201
Joined: Wed Jul 01, 2015 8:03 am
Location: irc://irc.libera.chat:6697/openvpn

Re: Openvpn server (Ping lan client)

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

Here comes the spoon: "openvpn howto"
;)
I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp

TinCanTech
OpenVPN Protagonist
Posts: 11137
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