[Openswan Users] Am I actually using NAT?

James Nelson james.nelson.ii at gmail.com
Thu Sep 22 18:06:51 EDT 2011

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 }'

On Thu, Sep 22, 2011 at 4:55 PM, Paul Wouters <paul at xelerance.com> wrote:

> On Thu, 22 Sep 2011, James Nelson wrote:
>             Amazon Local---------------Amazon Elastic===Internet===Client
>> Checkpoint----------Client Internal
>>            10.XX.XX.XX                   184.XX.XX.XX
>>       198.XX.XX.XX                 168.XX.XX.XX/XX
>> I think you really want to say leftsubnet=<AMAZON ELASTIC IP>
>> Then you probaly need to configure that IP locally, and add a route like
>>  ip route add 168.XX.XX.XX/XX via yourgw src <AMAZON ELASTIC IP>
>> When I try to run the ip route command, I get the generic RTNETLINK no
>> such process error.  I'm assuming by yourgw you mean the 198 address?
>> IP>
> No, I mean your actual default gw IP, which I did not know based in your
> information provided.
> Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20110922/b25d37dc/attachment.html 

More information about the Users mailing list