• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

VPN connection ?

G

gumush

Guest
I set up VPN module

-Remote Address : blank
-Remote UDP : 1194
-Local UDP : 1194
-Local Peer Address : 172.16.0.1
-Remote Peer Address : 172.16.0.2
-Generate Key ;
-Download Open VPN
-Install TAP device
-Connect To VPN

After these, screen

Tue Jan 04 11:49:17 2005 OpenVPN 2.0_beta11 Win32-MinGW [SSL] [LZO] built on Aug
18 2004
Tue Jan 04 11:49:17 2005 LZO compression initialized
Tue Jan 04 11:49:17 2005 TAP-WIN32 device [Local Area Connection 5] opened: \\.\
Global\{F4EAD3AF-4939-4694-A22E-325CC84E56BF}.tap
Tue Jan 04 11:49:17 2005 Notified TAP-Win32 driver to set a DHCP IP/netmask of 1
72.16.0.2/255.255.255.252 on interface {F4EAD3AF-4939-4694-A22E-325CC84E56BF} [D
HCP-serv: 172.16.0.0, lease-time: 31536000]
Tue Jan 04 11:49:17 2005 Successful ARP Flush on interface [458758] {F4EAD3AF-49
39-4694-A22E-325CC84E56BF}
Tue Jan 04 11:49:17 2005 UDPv4 link local (bound): [undef]:1194
Tue Jan 04 11:49:17 2005 UDPv4 link remote: MYServerIP:1194
Tue Jan 04 11:49:19 2005 Peer Connection Initiated with MYServerIP:1194


on server ifconfig
Link encap:Ethernet HWaddr 00:FF:5C:2A:9D:20
inet addr:172.16.0.1 Bcast:172.16.0.3 Mask:255.255.255.252
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)


BUT the problem is on windows ipconfig

Connection-specific DNS Suffix . :
Autoconfiguration IP Address. . . : 169.254.127.119
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :

this means windows tap device cannot get an ip address from dhcp ?

is there any wrong ?

How to connect VPN ?
 
And i try to connect with other client like cisco / winxp but these client authenticate by username and password .
 
after i upgrade my system to plesk 7.5.2 i try VPN connection again , and now my client get an ip address , 172.16.0.2 and gateway 255.255.255.252 but this computer cannot ping 172.16.0.1 ( server's ip )

is there any idea ?

anyone use VPN module ?
 
i finally removed it.
Its useless, u can only do one connection.
I wish to give VPN connections to all my clients throuh a range of ip's.

I'm researching on http://www.poptop.org/ right now and i think I may install it.
 
Yes i Did it worked fine, but with only one client.

And thats now what we want in our company.
 
openvpn peer mode

Plesk implements openvpn in peer mode only. It is openvpn 2.0 so you can manually edit the server's openvpn.conf and set it up for server mode where the number of connections is only limited by physical constraints such as the server's hardware and bandwidth.

I'm yet to configure this myself. But the documentation HOWTO on openvpn's site shows how to set up server mode. I might post my .conf when i've done and tested.
 
Back
Top