misterfigaro

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: VPN Zeroshell with Linux machine with Amazon EC2 #53406

    misterfigaro
    Member

    Hi redfive,

    yes sorry I forgot to mention the public ip addresses but I only mentioned the private ip, of course there are public ip as well so you can consider that the tunnel work.

    Anyway I manage to solve it and I describe the process on my website, this is the post:

    http://davidecostantini.it/2014/08/create-linux-gateway-using-amazon-ec2-instance-and-zeroshell/

    How can I set the title as SOLVED ?

    Cheers

    in reply to: VPN Zeroshell with Linux machine with Amazon EC2 #53404

    misterfigaro
    Member

    I did it, this is the routing table of Zeroshell

    Destination Netmask Type Metric Gateway Interface Flags State Source
    DEFAULT GATEWAY 0.0.0.0 Net 0 193.0.0.1 ETH02 UG Up Auto
    10.0.0.0 255.255.255.0 Net 0 194.0.0.2 VPN00 UG Up Static
    192.168.18.0 255.255.255.0 Net 0 none ETH03 U Up Auto
    192.168.50.0 255.255.255.0 Net 0 none ETH00 U Up Auto
    193.0.0.0 255.255.255.248 Net 0 none ETH02 U Up Auto
    193.0.1.0 255.255.255.248 Net 0 none ETH01 U Up Auto
    194.0.0.0 255.255.255.0 Net 0 none VPN00 U Up Auto

    And this is the Linux machine

    Destination Gateway Genmask Flags Metric Ref Use Iface
    0.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0 eth0
    10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
    169.254.169.254 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
    192.168.18.0 194.0.0.1 255.255.255.0 UG 0 0 0 tap0
    194.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 tap0

    Any ideas?

    in reply to: VPN Zeroshell with Linux machine with Amazon EC2 #53403

    misterfigaro
    Member

    I initially posted on Italian forum here (http://www.zeroshell.net/forum/viewtopic.php?p=18921#18921) where REDFIVE posted this answer:

    Mmm … this is the italian forum… anyway, if Zs 1 is the default gateway for the network 192.168.18.0/24 , and aws ec2 is the the default gateway for the network 10.0.0.0/24 , add, , on ZS1 a static route ,
    10.0.0.0 255.255.255.0 via 194.0.0.2 (but be aware, this is actually a pubblic ip address used as inner ip address of the tunnel) and on aws ec2 , 192.168.10.0 255.255.255.0 via 194.0.0.1…. should work, ….if I haven’t missed something…
    Regards

Viewing 3 posts - 1 through 3 (of 3 total)