cannot ping and samba share between ubuntu server and winxp
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 7
- Joined: Wed Jan 12, 2011 4:57 am
cannot ping and samba share between ubuntu server and winxp
hi all,
i am new here, please help. sorry, i am a newbie.
i am trying to connect samba server in ubuntu server installed with openvpn from winxp client with openvpn gui.
setting in ubuntu server:
ip 192.168.0.3
dev tun
proto udp
winxp client
ip 192.168.5.88
file = client.ovpn
client
dev tun
proto udp
remote 192.168.0.3 1194
;route 192.168.3.0 255.255.255.0 vpn_gateway 3 #i don't understand this setting
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\blokd.crt"
key "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\blokd.key"
ns-cert-type server
cipher BF-CBC # Blowfish (default) encrytion
comp-lzo
verb 1
result is:
Wed Jan 12 12:26:22 2011 OpenVPN 2.1_beta7 Win32-MinGW [SSL] [LZO2] built on Nov 12 2005
Wed Jan 12 12:26:22 2011 LZO compression initialized
Wed Jan 12 12:26:22 2011 UDPv4 link local: [undef]
Wed Jan 12 12:26:22 2011 UDPv4 link remote: 192.168.0.3:1194
Wed Jan 12 12:26:23 2011 [server] Peer Connection Initiated with 192.168.0.3:1194
Wed Jan 12 12:26:24 2011 TAP-WIN32 device [Local Area Connection 6] opened: \\.\Global\{EEB330FE-4D0B-40C2-ADA8-5F3822B2C665}.tap
Wed Jan 12 12:26:24 2011 Notified TAP-Win32 driver to set a DHCP IP/netmask of 10.8.0.6/255.255.255.252 on interface {EEB330FE-4D0B-40C2-ADA8-5F3822B2C665} [DHCP-serv: 10.8.0.5, lease-time: 31536000]
Wed Jan 12 12:26:24 2011 Successful ARP Flush on interface [131076] {EEB330FE-4D0B-40C2-ADA8-5F3822B2C665}
Wed Jan 12 12:26:25 2011 Initialization Sequence Completed
can someone help me why i can not ping to ubuntu server? everything standard is there something wrong in setting?
thanks all.
i am new here, please help. sorry, i am a newbie.
i am trying to connect samba server in ubuntu server installed with openvpn from winxp client with openvpn gui.
setting in ubuntu server:
ip 192.168.0.3
dev tun
proto udp
winxp client
ip 192.168.5.88
file = client.ovpn
client
dev tun
proto udp
remote 192.168.0.3 1194
;route 192.168.3.0 255.255.255.0 vpn_gateway 3 #i don't understand this setting
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\blokd.crt"
key "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\blokd.key"
ns-cert-type server
cipher BF-CBC # Blowfish (default) encrytion
comp-lzo
verb 1
result is:
Wed Jan 12 12:26:22 2011 OpenVPN 2.1_beta7 Win32-MinGW [SSL] [LZO2] built on Nov 12 2005
Wed Jan 12 12:26:22 2011 LZO compression initialized
Wed Jan 12 12:26:22 2011 UDPv4 link local: [undef]
Wed Jan 12 12:26:22 2011 UDPv4 link remote: 192.168.0.3:1194
Wed Jan 12 12:26:23 2011 [server] Peer Connection Initiated with 192.168.0.3:1194
Wed Jan 12 12:26:24 2011 TAP-WIN32 device [Local Area Connection 6] opened: \\.\Global\{EEB330FE-4D0B-40C2-ADA8-5F3822B2C665}.tap
Wed Jan 12 12:26:24 2011 Notified TAP-Win32 driver to set a DHCP IP/netmask of 10.8.0.6/255.255.255.252 on interface {EEB330FE-4D0B-40C2-ADA8-5F3822B2C665} [DHCP-serv: 10.8.0.5, lease-time: 31536000]
Wed Jan 12 12:26:24 2011 Successful ARP Flush on interface [131076] {EEB330FE-4D0B-40C2-ADA8-5F3822B2C665}
Wed Jan 12 12:26:25 2011 Initialization Sequence Completed
can someone help me why i can not ping to ubuntu server? everything standard is there something wrong in setting?
thanks all.
- krzee
- Forum Team
- Posts: 728
- Joined: Fri Aug 29, 2008 5:42 pm
Re: cannot ping and samba share between ubuntu server and wi
first, update your openvpn
http://openvpn.net/download
second, why are you using a vpn inside your lan?
third, where is the rest of your server config?
http://openvpn.net/download
second, why are you using a vpn inside your lan?
third, where is the rest of your server config?
-
- OpenVpn Newbie
- Posts: 7
- Joined: Wed Jan 12, 2011 4:57 am
Re: cannot ping and samba share between ubuntu server and wi
thanks for help.
first:
update with openvpn-2.1.4-install.exe still can not worked.
the log is:
Wed Jan 12 13:18:57 2011 OpenVPN 2.1.4 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] built on Nov 8 2010
Wed Jan 12 13:18:57 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Wed Jan 12 13:18:57 2011 LZO compression initialized
Wed Jan 12 13:18:57 2011 UDPv4 link local: [undef]
Wed Jan 12 13:18:57 2011 UDPv4 link remote: 192.168.0.3:1194
Wed Jan 12 13:18:57 2011 [server] Peer Connection Initiated with 192.168.0.3:1194
Wed Jan 12 13:19:00 2011 TAP-WIN32 device [Local Area Connection 7] opened: \\.\Global\{0CFE0A55-E393-4E5E-AD6A-5C6D553ADAAB}.tap
Wed Jan 12 13:19:00 2011 Notified TAP-Win32 driver to set a DHCP IP/netmask of 10.8.0.6/255.255.255.252 on interface {0CFE0A55-E393-4E5E-AD6A-5C6D553ADAAB} [DHCP-serv: 10.8.0.5, lease-time: 31536000]
Wed Jan 12 13:19:00 2011 Successful ARP Flush on interface [196612] {0CFE0A55-E393-4E5E-AD6A-5C6D553ADAAB}
Wed Jan 12 13:19:05 2011 Initialization Sequence Completed
second i am try to connect between to building using access point/wifi, connection between access point already ok. each building have ubuntu server installed.
third:
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keep alive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
first:
update with openvpn-2.1.4-install.exe still can not worked.
the log is:
Wed Jan 12 13:18:57 2011 OpenVPN 2.1.4 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] built on Nov 8 2010
Wed Jan 12 13:18:57 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Wed Jan 12 13:18:57 2011 LZO compression initialized
Wed Jan 12 13:18:57 2011 UDPv4 link local: [undef]
Wed Jan 12 13:18:57 2011 UDPv4 link remote: 192.168.0.3:1194
Wed Jan 12 13:18:57 2011 [server] Peer Connection Initiated with 192.168.0.3:1194
Wed Jan 12 13:19:00 2011 TAP-WIN32 device [Local Area Connection 7] opened: \\.\Global\{0CFE0A55-E393-4E5E-AD6A-5C6D553ADAAB}.tap
Wed Jan 12 13:19:00 2011 Notified TAP-Win32 driver to set a DHCP IP/netmask of 10.8.0.6/255.255.255.252 on interface {0CFE0A55-E393-4E5E-AD6A-5C6D553ADAAB} [DHCP-serv: 10.8.0.5, lease-time: 31536000]
Wed Jan 12 13:19:00 2011 Successful ARP Flush on interface [196612] {0CFE0A55-E393-4E5E-AD6A-5C6D553ADAAB}
Wed Jan 12 13:19:05 2011 Initialization Sequence Completed
second i am try to connect between to building using access point/wifi, connection between access point already ok. each building have ubuntu server installed.
third:
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keep alive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
- krzee
- Forum Team
- Posts: 728
- Joined: Fri Aug 29, 2008 5:42 pm
Re: cannot ping and samba share between ubuntu server and wi
i dont understand the second part, please explain it better...
are you trying to secure your wireless using openvpn?
when you test ping, what exactly are you trying to ping, and from where?
are you trying to secure your wireless using openvpn?
when you test ping, what exactly are you trying to ping, and from where?
-
- OpenVpn Newbie
- Posts: 7
- Joined: Wed Jan 12, 2011 4:57 am
Re: cannot ping and samba share between ubuntu server and wi
thanks again for attention and help.
we have 2 building here Office A & Office B
we want to access all file in the office B with samba server via OpenVpn.
we use wirelles for connection and want use OpenVpn for secure and access samba server
sorry for bad english.
we have 2 building here Office A & Office B
we want to access all file in the office B with samba server via OpenVpn.
we use wirelles for connection and want use OpenVpn for secure and access samba server
sorry for bad english.
-
- OpenVpn Newbie
- Posts: 7
- Joined: Wed Jan 12, 2011 4:57 am
Re: cannot ping and samba share between ubuntu server and wi
i am using laptop with winxp from office A want to access samba in office B with openvpn
- krzee
- Forum Team
- Posts: 728
- Joined: Fri Aug 29, 2008 5:42 pm
Re: cannot ping and samba share between ubuntu server and wi
so all clients will need to connect to openvpn when inside the lan (and only when inside the lan)
and the lans will need to be connected to eachother
is this correct?
and the lans will need to be connected to eachother
is this correct?
-
- OpenVpn Newbie
- Posts: 7
- Joined: Wed Jan 12, 2011 4:57 am
Re: cannot ping and samba share between ubuntu server and wi
yes, but only from all client with winxp in office A to samba server with ubuntu in office B.
-
- OpenVpn Newbie
- Posts: 7
- Joined: Wed Jan 12, 2011 4:57 am
Re: cannot ping and samba share between ubuntu server and wi
sorry please help.
i am try to connect from client in office B with OpenVpn to samba server in office A:
server office A:
ip=192.168.3.1
ip vpn=10.8.0.1
server office B:
ip=192.168.5.1
client in office B
ip=192.168.5.10
ip vpn=10.8.0.6
the idea i have connection successfull via vpn and want to access samba via ip vpn \\10.8.0.1
can i?
thanks
i am try to connect from client in office B with OpenVpn to samba server in office A:
server office A:
ip=192.168.3.1
ip vpn=10.8.0.1
server office B:
ip=192.168.5.1
client in office B
ip=192.168.5.10
ip vpn=10.8.0.6
the idea i have connection successfull via vpn and want to access samba via ip vpn \\10.8.0.1
can i?
thanks
- krzee
- Forum Team
- Posts: 728
- Joined: Fri Aug 29, 2008 5:42 pm
-
- OpenVpn Newbie
- Posts: 7
- Joined: Wed Jan 12, 2011 4:57 am