Adding a vpn gateway

2013-09-26
2013-09-26
  • Morten Johnsen
    Morten Johnsen
    2013-09-26

    My network
    Site 1:
    ssh server: 192.168.4.21
    Gateway: 192.168.4.1
    Vpn: 192.168.4.5

    Site 2:
    Vpn and gatway: 10.0.1.1

    On site 2 I need access to servers on site 1.

    In firewall builder I have inserted a Rule under "Routing" saying:
    Destination: 10.0.1.0 255.255.255.0
    Gateway: 192.168.4.5

    When Im on Site 2(10.0.1.108) and try to ssh 192.168.4.21 I dont get any respons.

    If I at site 1(192.168.4.21) execute the command "route add -net 10.0.1.0 netmask 255.255.255.0 gw 192.168.4.5", everything seems fine and the server respons when trying from site 2.

    Is there anything I can do fix this problem using fwbuilder on Gateway at site 1?