Koozali.org: home of the SME Server

checking for open ports

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: checking for open ports
« Reply #15 on: October 30, 2008, 05:36:09 PM »
lional

port 1194 must be forwarded if you are behind a router.. if your openvpn service is up and running on SME, and your server is directly exposed to wan, you definitely don't need port-forward.

make sure service is running and listening:
Code: [Select]
netstat -napt | grep 1194

and make sure that openvpn is visible on the wan side
please post here the result of
Code: [Select]
config show openvpn

and search info for the DB PublicAccess variable

HTH
Ciao
Stefano

Offline lional

  • ****
  • 71
  • +0/-0
Re: checking for open ports
« Reply #16 on: October 30, 2008, 06:00:53 PM »
I am behind a router. my router and my sme has public ip addresses.

Offline lional

  • ****
  • 71
  • +0/-0
Re: checking for open ports
« Reply #17 on: October 30, 2008, 06:10:27 PM »
on the config command I get command not found. What directory is nthe command stored in

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: checking for open ports
« Reply #18 on: October 30, 2008, 07:38:42 PM »
lional

let's start from 0 :-)

how did you install openvpn?
have you read (and followed) this howto?

Quote from: lional
on the config command I get command not found. What directory is nthe command stored in

what version of SME are you running?

Ciao
Stefano

Offline lional

  • ****
  • 71
  • +0/-0
Re: checking for open ports
« Reply #19 on: October 30, 2008, 08:06:04 PM »
I used the howto that you described
I am running sme 7.3

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: checking for open ports
« Reply #20 on: October 30, 2008, 09:03:07 PM »
I used the howto that you described
I am running sme 7.3

ok..

please post here the result of
Code: [Select]
/sbin/e-smith/db configuration show openvpn-bridge
netstat -nap | grep 1024

Thank you

Ciao
Stefano

Offline lional

  • ****
  • 71
  • +0/-0
Re: checking for open ports
« Reply #21 on: October 30, 2008, 09:16:40 PM »
it doesn't give a result. it runs but with no output

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: checking for open ports
« Reply #22 on: October 30, 2008, 09:24:44 PM »
it doesn't give a result. it runs but with no output

did you setup openvpn parameters via the server-manager panel?

BTW, in my previous post there was a typo.. it should be
Code: [Select]
netstat -nap | grep 1194

please post the result of
Code: [Select]
ls -la /home/e-smith/db/open*
/sbin/e-smith/db configuration show | grep openvpn

Ciao
Stefano

Offline lional

  • ****
  • 71
  • +0/-0
Re: checking for open ports
« Reply #23 on: October 30, 2008, 09:40:26 PM »
when I type in ls -la /home/e-smith/db/open* I get no such file or directory

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: checking for open ports
« Reply #24 on: October 30, 2008, 09:42:24 PM »
when I type in ls -la /home/e-smith/db/open* I get no such file or directory

and what do you get with
Code: [Select]
rpm -qa | grep openvpn
?




Offline lional

  • ****
  • 71
  • +0/-0
Re: checking for open ports
« Reply #25 on: October 30, 2008, 09:51:11 PM »
openvpn-2.0.9-1.el4.rf

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: checking for open ports
« Reply #26 on: October 30, 2008, 10:30:08 PM »
hi

try to install this contrib and configure openvpn..

works for me

Ciao
Stefano

Offline lional

  • ****
  • 71
  • +0/-0
Re: checking for open ports
« Reply #27 on: October 31, 2008, 04:57:50 AM »
will this work if I am behind a router, with my sme in server gateway mode

Offline lional

  • ****
  • 71
  • +0/-0
Re: checking for open ports
« Reply #28 on: November 01, 2008, 07:50:12 AM »
can I download the certificates from sme to xp remotely

Offline lional

  • ****
  • 71
  • +0/-0
Re: checking for open ports
« Reply #29 on: November 05, 2008, 03:47:18 PM »
I have installed the openvpn-bridge and that seems to work fine, My problem comes with teh XP client. I have chosen method one that only works on the username and password and this doesn't create any client certificates. OpenVPN on xp needs a VPN.ovpn file to start. what will the format be if I have chosen method 1