From: "Glynn S. Condez" <glynn@itextron.com>
To: lartc@vger.kernel.org
Subject: [LARTC] Help with GRE Tunneling
Date: Wed, 13 Feb 2002 02:25:55 +0000 [thread overview]
Message-ID: <marc-lartc-101356620806373@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101195228202181@msgid-missing>
[-- Attachment #1: Type: text/plain, Size: 1379 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 2249 bytes --]
next prev parent reply other threads:[~2002-02-13 2:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-25 9:51 [LARTC] Help with gre tunneling glynn
2002-01-25 11:59 ` Greg Scott
2002-01-30 8:43 ` glynn
2002-01-30 12:20 ` Greg Scott
2002-02-13 2:25 ` Glynn S. Condez [this message]
2002-02-13 7:59 ` [LARTC] Help with GRE Tunneling bert hubert
2002-02-14 1:20 ` Glynn S. Condez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-101356620806373@msgid-missing \
--to=glynn@itextron.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox