hello everyone, I have a working pptp vpn ( gre
tunneling ). I setup samba server on both linux server, in network A, i could
see the network neighborhood with samba but i couldnt see the network of the
otherside but I could open the samba server in Network B and also the
workstation using \\networkB\share. I'd
like to ask if its possible that im going to use the same subnet of the network
B, so that both Network A and Network B are in the same subnet. Here is my
config in pptp vpn on both networks. if its possible can anyone correct the
config?
#Network A
/sbin/echo 1 >
/proc/sys/net/ipv4/ip_forward
/sbin/ipchains -A forward -s 192.168.1.0/24 -j
MASQ
/sbin/ipchains -A forward -s 192.168.2.0/24 -j MASQ
/sbin/insmod ip_gre
/sbin/ip tunnel add alas
mode gre remote x.x.x.x local y.y.y.y ttl 255
/sbin/ip link set netb
up
/sbin/ip addr add 192.168.1.1 dev netb
/sbin/ip route add
192.168.2.0/24 dev netb
------------------------------------------------------------------------------
#Network B
/sbin/echo 1 >
/proc/sys/net/ipv4/ip_forward
/sbin/ipchains -A forward -s 192.168.2.0/24 -j
MASQ
/sbin/ipchains -A forward -s 192.168.1.0/24 -j MASQ
/sbin/insmod ip_gre
/sbin/ip tunnel add text
mode gre remote y.y.y.y local x.x.x.x ttl 255
/sbin/ip link set neta
up
/sbin/ip addr add 192.168.2.1 dev neta
/sbin/ip route add
192.168.1.0/24 dev neta