[Openswan Users] Openswan doesn't open any port to listen.

Simon Deziel simon at xelerance.com
Fri Nov 22 21:25:11 UTC 2013


Hi Mohsen,

On 13-11-22 04:07 PM, Mohsen B.Sarmadi wrote:
> $ nmap localhost
> 
> Starting Nmap 5.21 ( http://nmap.org ) at 2013-11-22 21:01 UTC
> Nmap scan report for localhost (127.0.0.1)
> Host is up (0.00080s latency).
> Hostname localhost resolves to 2 IPs. Only scanned 127.0.0.1
> Not shown: 996 closed ports
> PORT     STATE SERVICE
> 22/tcp   open  ssh
> 80/tcp   open  http
> 3306/tcp open  mysql
> 9000/tcp open  cslistener
> 
> Nmap done: 1 IP address (1 host up) scanned in 0.10 seconds

This nmap scan you did only scanned over TCP while both IPsec (IKE in
fact) and L2TP operate on UDP only.

> please give me hint,

To see what's listening in UDP you can use this command:

 netstat -puln

Regards,
Simon



More information about the Users mailing list