[Openswan Users] Am I actually using NAT?

Paul Wouters paul at xelerance.com
Thu Sep 22 19:51:16 EDT 2011

On Thu, 22 Sep 2011, James Nelson wrote:

> In an effort to sound as dimwitted as possible, I'm still getting the
> generic error, this time trying: 
> ip route add <CLIENT INTERNAL> via <LOCAL EC2 GW> src <EC2 ELASTIC IP>
> I received the LOCAL EC2 GW just by using the following command on the
> Amazon instance:
> ip route |grep "default" | awk '{ print $3 }' 

[root at thinkpad ~]# ip route |grep "default"
default via dev wlan0  proto static 
[root at thinkpad ~]# ifconfig wlan0:1
[root at thinkpad ~]# ip route add via src dev wlan0
[root at thinkpad ~]#


More information about the Users mailing list