Displaying 20 results from an estimated 50000 matches similar to: "PPtP over NAT"
2006 Dec 29
1
Trouble selecting network interface by port
I have a connection to the Internet (on eth1), and over this I also
have a PPTP tunnel set up (on ppp0). Temporarily I use the (slower)
PPTP tunnel for everything, but I really just have to use it for some
specific purposes, which are distinguishable by port.
So, I want to direct only some specific ports to ppp0, using eth1 for
the rest.
I have tried following the instructions on
2004 Sep 29
0
Netfilter NAT and IP rule
Hi all,
I have a network like thisĀ :
Provider 1 Provider 2
\ /
\ /
\ /
eth1 \ / eth2
-------------
| |
| |
| |
| |
| |
| eth0 |
-------------
|
|
|
|
2 networks :
-
2005 Feb 09
2
load balancing between two dsl links
Hi,
I am connected to two DSL providers (DSL 1 - 1Mbps downlink/384kbps
uplink and DSL 2 - 2Mbps downlink/512kpbs uplink)
I would like to only allow ftp, pop3 and http via the DSL 1 and only
smtp, ipsec and pptp via DSL 2.
How can I do so? Can I use iproute to route these protocols?
Below is my ip routing: -
# DSL 1
ip route add 2.2.2.208/30 dev eth0 src 2.2.2.210 table 1
ip route add
2006 Mar 28
1
Please help - totally confused (NAT + FWMARK + IMQ + HTB)
Hello,
I''m trying to get my shaper to work, but have only a partial success.
Can someone help me with that. My setup unfortunately is not so trivial,
but I think some people could have similar one...
1. There is a router connected to the internet line via interface eth0
2. There are users connected to the router via two interfaces : eth1 and
wlan0
3. All users are assigned private IP
2005 Apr 19
5
1 to 1 nat of multiply pptp tunnels
Hi !
Recently i switched my internet provider, to get more speed but another
braindead setup regarding public ip addresses.
I now have 4 PPTP Tunnel available, of which i''m using one as the
gateway ip doing masquerading to other machines in my local lan,
excluding three other machines, which i would like to use 1:1 nat to
get them a direct access to one of the pptp tunnels.
I was
2007 Jan 08
0
TC on multiple nics
Happy New Year.
Finally got my fw and tc rules down pat for the bridge, now interested
in introducing a third nic to have nat on the box as well. Does anyone
have a idea of a good place to start reading up on the subject, mainly
interested in how to setup the flow direction to start with as to get a
overall understanding of the flow, found that help best.
Internet --- eth0 --- eth1 ---
2006 Apr 09
3
Conntrack, nat and multipath - what is wrong here?
I have a gentoo 2.6.14 box with 4 nics, LAN/DMZ/PUB1/PUB2
LAN and DMZ have a 1918 /22 each, PUB1 and PUB2 have a /29 each of which 5 ips
are assigned.
Using the mangle table, I give all packets a mark (according to local
policies) in the range 1-10. Using ip rule, i pass marks 1-5 through the pub1
route table, and marks 6-10 through the pub2 routing table. Using the nat
table, I SNAT to one
2002 Nov 18
0
help! tc filter dose not work..
-------------- eth0------eth1 eth0------------
|211.241.219.xx | --- | ROUTER | --- |192.168.1.4 |
--------------- --------- ------------
when i send traffic from ROUTER to 211.241.219.xx or
192.168.1.4(masquraded),
the filter works fine...
In ROUTER, tc filter policy is like this:
tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dport 80 0xffff
2007 Feb 09
1
trouble https multiple uplinks... how?
hello, my name is Denny. I am new in this list.
I am trying use multiple uplinks as describe in the lartc
documentation (http://lartc.org/howto/lartc.rpdb.multiple-links.html)
with squid transparent proxy in my gateway server.
let me draw the configuration :
/-----------------
-----DSL1-----| \
|Transparent proxy |----Local network
-----DSL2-----|
2003 Apr 16
0
Two lines and one ftp server: problem with iproute and routing
Hi list,
I try to install the following network:
/-----------------\
| Firewall 1 |
\-----------------/
___________________| |_________________
| 10.2.6.1 10.2.2.1 |
| eth1 |
| 10.2.6.11
2006 Jan 30
0
loadbalancing multipath routing frequently freezes udp connections
hi
i recently searched in the mailinglist archive and found similar
problems, whose solutions helped very much, thank you.
i have the following scenario:
a firewall with one lan interface
eth0 10.1.1.1/24
and two uplink interfaces
eth1 10.2.2.1/24
eth2 10.3.3.1/24
each uplink interface does SNAT:
iptables -t nat -I POSTROUTING -o eth1 -j SNAT --to-source 10.2.2.1
iptables -t nat -I POSTROUTING
2003 Aug 28
5
Router for giving more than 1 ip
Hi i have a debian box working as a router.. it works quite well, now
i want to give more than 1 ip.. is it possible to do it? some of them
must be an open ip.. i mean.. all ports opened is it possible? how
should i do it?
Here is my nat.sh script just in case someone wants it.. (comments r
in spanish.. and not right)
Thanks in advance,
#!/bin/sh
echo "AthoS LaN Generando
2005 Feb 14
6
NAT over 2 providers (not load balance)
Hi guys,
Can you take a look at this? :)
+-----------+
| |
eth1-|- |
| -|-eth0---LAN---
| |
eth2-|- |
| |
+-----------+
-
eth0 is connected to the LAN having the IP=LAN_IP
eth1 is connected to the first ISP having IP=ISP_IP_1 and GW=ISP_GW_1
eth2 is connected to the second ISP having IP=ISP_IP_2 and GW=ISP_GW_2
I need
2005 Jun 22
0
RE: Q: Routing the Same IP simultaneously on differentcomputers ?
Hi,
First, never compare a linux box with a cheap and dumb broadband router.
I''m not sure if i understand very well your scenario but I asume is like
this:
192.168.0.1---------
-----------| ipsec |
| ---------
128.X.X.X --------- 192.168.0.254 |
ISP ----------| linux |------------------|
--------- | ---------
2005 Jun 30
2
routing between 2 lines problem , after starting squid
i''m using one line on eth2 only for web traffic
eth1 is my internal line and eth0 is my main line to internet .
i''m marking packets like this
i have default route on eth0
iptables -t mangle -A PREROUTING -i eth1 -p tcp --dport 80 -j MARK
--set-mark 66
iptables -t mangle -A PREROUTING -i eth1 -p tcp --sport 80 -j MARK
--set-mark 66
iptables -t mangle -A PREROUTING -i eth1
2005 Jul 05
0
Wrong behaviour in policy routing
Hi!
I get this strange behaviour... I don''t know how some packets get into
wrong rules.
My rules are those:
0: from all lookup local
50: from all lookup main
201: from 192.168.17.0/28 lookup 201
202: from 192.168.16.0/28 lookup 202
222: from all lookup 222
32766: from all lookup main
32767: from all lookup default
Table main has:
192.168.17.0/28 dev eth2
2005 Aug 18
1
Two internet lines and squid problem.
I have 2 internet connections and i;m trying to use squid as transparent proxy
but every time squid is using first internet line but i want to use
second internet line .
i have this settings and without squid it''s working
i have default route on the first internet connection.
iptables -t nat -I POSTROUTING -o eth2 -p tcp --dport 80 -s
192.168.0.0/24 -d ! 192.168.0.0/16 -j SNAT --to
2004 Nov 19
2
HTB&IMQ
i''m trying to limit upload and download but something is wrong(it is about NAT)
i will post here my "script" maybe someone could tell me what is wrong
my kernel(2.6.9) is patch with imq(linuximq.net) and my iptables(1.2.11) also
#flush
tc qdisc del dev eth0 root
tc qdisc del dev eth1 root
tc qdisc del dev imq0 root
tc qdisc del dev imq1 root
ifconfig imq0 down
2004 Nov 15
3
source policy routing going to wrong path
Hi,
Below is my Linux firewall network configuration: -
eth0 - isp 1, IP: 1.1.1.10, Netmask: 255.255.255.252
eth1 - isp 2, IP: 2.2.2.10, Netmask: 255.255.255.252
eth2 - lan, IP: 172.16.0.254, Netmask: 255.255.255.0
eth3 - dmz, 192.168.0.254, Netmask: 255.255.255.0
isp 1 gateway: 1.1.1.9
isp 2 gateway: 2.2.2.9
Below is my iptables rules: -
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables
2004 May 09
3
prerouting does not effect filtering
I try to shape traffic using HTB and mark packets within iptables using
PREROUTING. But the filterrules seems to ignore the marks set with
PREROUTING
Only POSTROUTING marks are accepted.
First my configuration
I have a router connected to the internet via ADSL over interface ppp0.
eth0 is a tunnel to ppp0 and eth1 serves the LAN.
LAN is 192.168.57.0/24 on 10Mbit
ppp0 is 80.126.16.44 on