All of lore.kernel.org
 help / color / mirror / Atom feed
* help with netmap.
@ 2006-02-08 13:35 Stephen Beck
  2006-02-08 14:08 ` John A. Sullivan III
  0 siblings, 1 reply; 10+ messages in thread
From: Stephen Beck @ 2006-02-08 13:35 UTC (permalink / raw)
  To: netfilter

I have several dorm firewalls with nearly 250 users behind each.
I nat the inside ip's using netmap. this has been up and running for
6 months and for the inside users its working fine. for the most part
I dont want connections orginating from the outside and netmap seems
to be perventing this. However I now have an application that needs to
be able to orginate a stream from the outside to any inside
ip( CopySense ).

ime really not shure:
if netmap alone should block incomming connections ?
how to go about allowing them?

from what i see the folling is a start:
existing netmap lines on one router:

Chain POSTROUTING (policy ACCEPT 6 packets, 300 bytes)
 362 20370 NETMAP     all  --  *      *       10.0.20.0/24
0.0.0.0/0           205.133.141.0/24
   75  4208 NETMAP     all  --  *      *       10.0.21.0/25
0.0.0.0/0           205.133.140.0/25
  223 10925 NETMAP     all  --  *      *       10.0.22.0/25
0.0.0.0/0           205.133.140.128/25

to allow the outside connection for my laptop this works:

Chain PREROUTING (policy ACCEPT 1620 packets, 92093 bytes)
target     prot opt in     out     source
destination
DNAT       all  --  *      *       0.0.0.0/0
205.133.141.42      to:10.0.20.42

ile tighten up that rule once i get it working ;-)

however I neet to allow that rule to work for all 255 ip's
and i cant seem to get the syntax right ???


Stephen Beck, Marietta College, 740-376-4366


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

end of thread, other threads:[~2006-02-09 17:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-08 13:35 help with netmap Stephen Beck
2006-02-08 14:08 ` John A. Sullivan III
2006-02-08 14:15   ` Stephen Beck
2006-02-08 14:35     ` John A. Sullivan III
2006-02-08 15:20       ` Stephen Beck
2006-02-08 16:04         ` John A. Sullivan III
2006-02-09 17:25           ` Stephen Beck
2006-02-09 17:52             ` John A. Sullivan III
2006-02-09 17:30     ` R. DuFresne
2006-02-09 17:40       ` Stephen Beck

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.