ok i changed that but still no joy

ubuntu@tinc:/etc/tinc/zt$ more tinc-up
#!/bin/sh
ifconfig $INTERFACE 192.168.2.1 netmask 255.255.255.0
route add -host 192.168.1.9 dev $INTERFACE
route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.9

ubuntu@tinc:/etc/tinc/zt$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
default         74.175.26.65    0.0.0.0         UG    100    0        0 eth0
localnet        *               255.255.255.0   U     0      0        0 eth0
192.168.1.0     192.168.1.9     255.255.255.0   UG    0      0        0 zt
192.168.1.9     *               255.255.255.255 UH    0      0        0 zt
192.168.2.0     *               255.255.255.0   U     0      0        0 zt


On Sun, Sep 22, 2013 at 1:58 PM, Sven-Haegar Koch <[email protected]> wrote:

> On Sun, 22 Sep 2013, Zia Syed wrote:
>
> > ok, changed that and now i am able to connect to port 80 on my Mac, from
> > Linux box using 192.168.1.9 address. However, i can't connect to another
> > webserver on my home network at 192.168.1.1.
>
> > and my tinc-up on the linux is
> >
> > #!/bin/sh
> > ifconfig $INTERFACE 192.168.2.1 netmask 255.255.0.0
>
> With a netmask of 255.255.255.0 it would work better.
>
> > route add -host 192.168.1.9 dev $INTERFACE
> > route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.2.1
>
> c'ya
> sven-haegar
>
> --
> Three may keep a secret, if two of them are dead.
> - Ben F.
>
_______________________________________________
tinc mailing list
[email protected]
http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc

Reply via email to