Linux Netfilter discussions
 help / color / mirror / Atom feed
* RE: Problem Found! - Firewall Rule
@ 2003-06-06  0:56 George Vieira
  2003-06-06  6:52 ` Ray Leach
  2003-06-09  3:35 ` John Paul
  0 siblings, 2 replies; 7+ messages in thread
From: George Vieira @ 2003-06-06  0:56 UTC (permalink / raw)
  To: John Paul, netfilter

[-- Attachment #1: Type: text/plain, Size: 1446 bytes --]

Your local IP is the same as the remote networks IP.. so how is the local machine to know that 192.168.0.55 or 66 or 32 is on the VPN!?
 
The only way I know is to proxyarp the ppp device that the vpn is running on.. I'm assuming it's PPTP so you could try this command when the VPN comes up :
echo 1 > /proc/sys/net/ipv4/conf/$VPNDEV/proxy_arp
 
and this must be done on the VPN server too..
I've never done it this way with a VPN.. but you can only try it..
 
I'm surprised that anything really works properly the way you've done it because the firewall has 2 network devices with the same IP range.

Thanks,

 
____________________________________________
George Vieira
Citadel Computer Systems Pty Ltd Systems Manager georgev AT citadelcomputer DOT com DOT au 
Citadel Computer Systems Pty Ltd
Phone : +61 2 9955 2644 HelpDesk: +61 2 9955 2698  <http://www.citadelcomputer.com.au/> http://www.citadelcomputer.com.au
 
 
-----Original Message-----
From: John Paul [mailto:john@pinoylinux.sytes.net]
Sent: Friday, June 06, 2003 9:56 AM
To: netfilter@lists.netfilter.org
Subject: Problem Found! - Firewall Rule


Hello Folks, its me again :(
 
Below is my config. My problem is, I can connect to VPN but for some reason, I cannot see machines inside the network after being connected. Can somebody give me the simpliest firewall rule on this? just for me to see the machines inside the network.
 
Thanks!
/JP
 

[-- Attachment #2: Type: text/html, Size: 5483 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: Problem Found! - Firewall Rule
@ 2003-06-09  4:22 George Vieira
  0 siblings, 0 replies; 7+ messages in thread
From: George Vieira @ 2003-06-09  4:22 UTC (permalink / raw)
  To: John Paul, netfilter

The only solution to this is to make the VPN server or the other network be the master browser of that network.. so it handles all the netbios broadcasts and all.
 
Once this is done, setup samba on the remote firewall to do a "remote announce = 10.10.255.255" onto your network... something like that.. it's been a while since I've done this..
 
Though this must be the VPN server that runs the master browser because broadcasts DO NOT ROUTE so it can't be done with a server inside the VPN servers network..
 
give that a try. static mappings should work though as long as you know what your looking for.
 

	-----Original Message----- 
	From: John Paul [mailto:john@pinoylinux.sytes.net] 
	Sent: Mon 09-Jun-03 1:35 PM 
	To: George Vieira; netfilter@lists.netfilter.org 
	Cc: 
	Subject: Re: Problem Found! - Firewall Rule
	
	
	 


^ permalink raw reply	[flat|nested] 7+ messages in thread
* Problem Found! - Firewall Rule
@ 2003-06-05 23:56 John Paul
  0 siblings, 0 replies; 7+ messages in thread
From: John Paul @ 2003-06-05 23:56 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 2049 bytes --]

Hello Folks, its me again :(

Below is my config. My problem is, I can connect to VPN but for some reason, I cannot see machines inside the network after being connected. Can somebody give me the simpliest firewall rule on this? just for me to see the machines inside the network.

Thanks!
/JP



PC1 (192.168.0.20) ----> gateway(LinuxServer) <-------------------> internet <--------------------> VPN Server
                                   eth0 : 1.1.1.1                                                                        eth0 : 2.2.2.2
                                   eth1 : 192.168.0.1                                                                 local ip: 192.168.0.10
                                                                                                                              remote ip: 192.168.0.180-200  

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

PC1 is already connected to the VPN server. PC1 ip now becomes;

Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . : 
        IP Address. . . . . . . . . . . . : 192.168.0.253
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.0.10

PPP adapter Sytes.Net:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 192.168.0.180
        Subnet Mask . . . . . . . . . . . : 255.255.255.255
        Default Gateway . . . . . . . . . : 192.168.0.180

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

route -n

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
202.163.246.1   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
192.168.0.180   0.0.0.0         255.255.255.255 UH    0      0        0 ppp1
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         202.163.246.1   0.0.0.0         UG    0      0        0 ppp0

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

[-- Attachment #2: Type: text/html, Size: 6026 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-06-09 10:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-06  0:56 Problem Found! - Firewall Rule George Vieira
2003-06-06  6:52 ` Ray Leach
2003-06-09  3:35 ` John Paul
2003-06-09  3:46   ` firewall bridge , Vlan ? loong
2003-06-09 10:08     ` Cedric Blancher
  -- strict thread matches above, loose matches on Subject: below --
2003-06-09  4:22 Problem Found! - Firewall Rule George Vieira
2003-06-05 23:56 John Paul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox