This forum is for admins who are looking to build or expand their OpenVPN setup.
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
user0110
- OpenVpn Newbie
- Posts: 2
- Joined: Sun Mar 28, 2021 1:35 pm
Post
by user0110 » Sun Mar 28, 2021 1:47 pm
plss tall me what im doing wrong?
i can only connect to server via switch0 ip: 192.168.10.1 but myip.com shows my extrenal ip..
https://i.imgur.com/r3VuWLg.jpg
Code: Select all
client
dev tun
proto udp
remote 192.168.10.1 1194
float
resolv-retry infinite
nobind
persist-key
persist-tun
verb 3
ca cacert.pem
cert client1.pem
key client1.key
redirect-gateway def1
auth-nocache
-
TinCanTech
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Post
by TinCanTech » Sun Mar 28, 2021 4:04 pm
user0110 wrote: ↑Sun Mar 28, 2021 1:47 pm
i can only connect to server via switch0 ip: 192.168.10.1
user0110 wrote: ↑Sun Mar 28, 2021 1:47 pm
remote 192.168.10.1 1194
-
300000
- OpenVPN Expert
- Posts: 685
- Joined: Tue May 01, 2012 9:30 pm
Post
by 300000 » Sun Mar 28, 2021 11:48 pm
you use redirect-gateway def1 so it will show that just remove that line and connect from internet to check it . dont connect the same lan and make it confuse .
-
TinCanTech
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Post
by TinCanTech » Mon Mar 29, 2021 1:26 am
@300000 ..
wrong ..
again.
@300000 You are basically an
idiot .. the issue here has nothing to do with routing.