All of lore.kernel.org
 help / color / mirror / Atom feed
* vpn problem
@ 2005-04-09 16:19 Nagy Zoltan
  2005-04-09 15:23 ` Seferovic Edvin
  2005-04-11 10:47 ` root
  0 siblings, 2 replies; 5+ messages in thread
From: Nagy Zoltan @ 2005-04-09 16:19 UTC (permalink / raw)
  To: netfilter


hi

i'm think about how can i set up a vpn on our lan,
and make possible that not all systems are reachable by the connected vpn users
something like that user A have access to our data servers only, but user B can access the database,firewall servers
i'm thinking about that if the clients can login to the vpn gw server i could use gid match to put the clients ip in a recent list,
and i can use the recent lists to mark the packets and filter by that ;)
i'm thinking about that i've missed something...and there is a simpler solution ;)


kirk



^ permalink raw reply	[flat|nested] 5+ messages in thread
* vpn problem
@ 2004-11-16 18:29 Peter Marshall
  2004-11-16 19:03 ` Jason Opperisano
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Marshall @ 2004-11-16 18:29 UTC (permalink / raw)
  To: netfilter

Hello everyone.

I am getting the following in my logs (scrolls faster than I can read) when
ever anyone trys to do windows file transfers over my vpn.  The vpn is ipsec
and it is a constant connection between our office and our sister office.
My vpn server is in our dmz between 2 firewalls.  The remote vpnserver is
installed on their internal firewall.  When a client on the remote side goes
to copy a file using windows networking to a server on my side, it works,
however I get the messages below ... Please help.  I am not sure why I am
getting this.  It looks like the reply is getting blocked, however, as my
rules show below, I allow established and related connections.

Nov 16 13:59:16 radium kernel: FORWARD REJECT IN=eth1 OUT=eth0 SRC=x.x.x.33
DST=192.168.200.3 LEN=576 TOS=0x00 PREC=0xC0 TTL=63 ID=12528 PROTO=ICMP
TYPE=3 CODE=4 [SRC=192.168.200.3 DST=192.168.127.15 LEN=1500 TOS=0x00
PREC=0x00 TTL=126 ID=19304 DF PROTO=TCP SPT=445 DPT=1915 WINDOW=64968
RES=0x00 ACK URGP=0 ] MTU=1443

$IPT -A FORWARD -p TCP -m state --state ESTABLISHED,RELATED -j ACCEPT
$IPT -A FORWARD -p UDP -m state --state ESTABLISHED,RELATED -j ACCEPT

$IPT -A FORWARD -s 192.168.127.0/24 -i eth1 -j vpn-int
$IPT -A vpn-int -d 192.168.200.3 -p tcp --dport 139 -j ACCEPT
        $IPT -A vpn-int -d 192.168.200.3 -p tcp --dport 445 -j ACCEPT
        $IPT -A vpn-int -d 192.168.200.3 -p udp --dport 138 -j ACCEPT
        $IPT -A vpn-int -j LOG --log-prefix " REJECT: vpn-int "
        $IPT -A vpn-int -j REJECT


192.168.127.0/24 is the remote network
192.168.200.0/21 is my local network.
x.x.x.33 is the internet IP of my vpn server.

Thanks for the help,
Peter




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

end of thread, other threads:[~2005-04-11 10:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-09 16:19 vpn problem Nagy Zoltan
2005-04-09 15:23 ` Seferovic Edvin
2005-04-11 10:47 ` root
  -- strict thread matches above, loose matches on Subject: below --
2004-11-16 18:29 Peter Marshall
2004-11-16 19:03 ` Jason Opperisano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.