LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help - IPSEC routing! (https://www.linuxquestions.org/questions/linux-newbie-8/help-ipsec-routing-4175426556/)

gguth 09-10-2012 11:57 AM

Help - IPSEC routing!
 
Hi all!
I hope you can help me with this problem.

I have this working ipsec connection in my Debian server:

####
conn TEST_1
type=tunnel
auto=start
auth=esp
authby=secret
pfs=no
left=192.168.2.1
leftid=201.XX.XX.XXX
leftnexthop=192.168.2.254
leftsubnet=192.168.1.0/24
right=200.250.XXX.XXX
rightsubnet=10.101.4.0/22
# Fase 01
keyexchange=ike
ike=aes128-sha1-modp1024
ikelifetime=7200s
# Fase 02
esp=aes128-sha1
keylife=7200s
rekey=yes
keyingtries=%forever
####

I can ping normally the hosts on 10.101.4.0/22 segment.
But now i have to ping other host => 10.143.6.188, at the 10.143.4.0/22 segment.

It is in the same Tunnel, same PSK, etc.

How can i do this? Adding a route? How?

**Its a Debian OS with shorewall and OpenSwan.

Thank you!

acid_kewpie 09-10-2012 12:18 PM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


All times are GMT -5. The time now is 10:23 PM.