Displaying 20 results from an estimated 500 matches similar to: "Docker Bridge - Howto deal with it?"
2013 Aug 29
2
shorewall and snort - recommendation
Dear all,
I''m setting up a new gateway for a small network (under 30 users)Gw will host the following services:shorewalldnsproxy
i''m considering installing snort.can i do so on the same exact box ? is there any security risk of doing so ?
box would have 4 ISPs and two internal interfaces.
Any recommendation about the optimal setup of snort and shorewall (or if you suggest
2013 Aug 31
23
ERROR: Log level INFO requires LOG Target in your kernel and iptables
Hi,
I have 2 Debian testing boxes running a very similar setup (both running
the latest aptosid kernel); on one of them, since the
iptables/libxtables10 packages have been upgraded from 1.4.19.1-1 to
1.4.20-2, shorewall-init can''t start shorewall anymore and for this
reason ifupdown also fails triggering firewall up.
Shorewall can be successfully started later on, and ifupdown starts
2013 Sep 01
2
ICMP rate limit terminates shorewall
I''m using the following rule on 3 different systems running
shorewall-4.5.18 on Gentoo:
ACCEPT all all icmp - - - 10/sec:20
shorewall starts fine on 2 of the systems but on the 3rd it fails to
start with the following error:
iptables-restore: line 119 failed
ERROR: iptables-restore Failed. Input is in
/var/lib/shorewall/.iptables-restore-input
/usr/share/shorewall/lib.common: line 113:
2013 Aug 29
2
Multiple gateways
hello
need a little help
i have 2 NIC router with shorewall
client PCs goes to internet fine with shorewall help.
but i need to reroute traffic for one net via other gateway not ISPs.
Gateway is on LAN NIC.
192.168.1.0/24 LAN
x.x.x.x WAN
router(shorewall) IP 192.168.1.15
i need to reroute traffic for 192.168.2.0/24 network to 192.168.1.1 gateway
I know how to do it via route and iptables, bu just
2013 Sep 06
3
Shorewall OpenVPN, routing back from a LAN
When using shorewall with a road warrior openvpn setup, how can I get the
tun interface to masq through a lan interface?
Example Setup:
Machine A (tun0 10.0.0.1) -----------VPN---------(tun0
10.0.0.2)---------Machine B(10.10.10.1)
When I ping Machine B from Machine B, Machine B is receiving the echo
request, but it doesn''t know the route back to the 10.0.0.0/24, and there
2013 Sep 08
5
shorewall-lite
Hi I''m running on a debian box shorewall-4.5.17.
My main gateway is a router running on openwrt and I want to use the
shorewall-lite packet provided by openwrt. The openwrt''s provided
shorewall-lite packet is 4.5.7.
So my questions would be:
1: Do I need to make some modifications before installing
shorewall-core-4.5.7/shorewall-4.5.7 on my debian box?
2: if I have both
2013 Sep 08
2
Fwd: Where to put custom rules
Hi All,
I have a custom TC configuration where I''m building the tc hierarchy
manually with the tcstart script. I also need to add custom iptables
rules in the mangle table to classify the packets.
Currently I''m using started to insert the iptables commands, but
that''s way too late in the process.
I tried putting them into the initdone file, but it''s trying to
2013 Sep 06
3
Routing on one interface with IP alias
I use since a lot of time a "classical" two-interfaces setup, with the net
interface connected to an ADSL modem in half-bridge mode, which receives a
public IP from the ISP and gives it to the Linux net interface; the lan
interface has the 192.168.30.0/24 class.
Now I need to change this setup, because my new ISP (that will switch soon to
a FTTS VDSL2 connection) sent me a VDSL2
2013 Sep 16
7
Rsync rules for Shorewall
Hi folks,
I''m having an issue with rsync between my firewall and an internal
box. It seems to be a shorewall issue (or correctly speaking, an
issue with my shorewall config) because if I disable shorewall my
rsync works fine.
And I just can''t find it documented anywhere what I need to do.
I have rules like this :
root@userver:/etc/shorewall# grep -i Rsync rules
2013 Sep 12
25
shorewall-lite error at start
Hi,
My main gateway is a router running on OpenWrt Barrier Breaker
r37816/ Kernel Version3.10.4.
I installed shorewall-lite from openwrt''s repo using opkg but while
trying to start shorewall-lite I get the folowing errors:
The first error i got was "scp: /var/lib/shorewall-lite: No such file
or directory" simply resolved by making the folder "shorewall-lite"
2013 Sep 20
2
touch complain when shorewall start
hello, while starting shorewall4.5.20 on debian7 I get the following
from touch
touch: cannot touch `/var/lock/subsys/shorewall'': No such file or
directory
The needed file can not be created because the directory subsys is
not present!
If I creat the folder manuallly touch does not complain when
shorewall start! Thus it would be nice if durring start shorewall
could check if the
2013 Sep 10
6
lsm configuration issues...
Hi,
I use shorewall-4.5.4 + lsm-0.143 and it does not seem to work as expected...
When all providers are up, everything seems fine.
When one goes down, lsm says "link <provider> down event"... and it seems
ok but we then experience some problems such as a few unreachable sites,
DNS problems...
If I remove the downed provider from all confs and restart, everything works again.
2013 Oct 08
2
Bug with H323 helper? Shorewall 4.5.16.1 as packaged up for Debian.
Hi all.
I can''t seem to get the h323 connection tracking configured correctly for Shorewall.
I am using the Debian Shorewall 4.5.16.1 package.
I am running a Debian 3.9 kernel like so:
# uname -a
Linux gw 3.9-1-amd64 #1 SMP Debian 3.9.8-1 x86_64 GNU/Linux
My version of iptables is:
# iptables -V
iptables v1.4.20
If I add the following rule in the /etc/shorewall/tcrules file to
2013 Nov 14
1
Possible bug: TC with HFSC fails to load if umax is not provided
I stumbled upon a problem while upgrading Ubuntu 13.04, Shorewall version
from 4.4.26.1 to 4.5.16.1.
Everything was working fine before, after upgrading the script wouldn''t
start.
First some config files.
tcdevices:
#INTERFACE IN-BANDWIDTH OUT-BANDWIDTH OPTIONS REDIRECTED
eth1 - 6300kbit hfsc,classify
ifb0 - 6300kbit hfsc
2013 Sep 23
3
Custom iptables rules to drop DNS Amplification Attacks
Hi all, I need an help to implement this kind of rules on shorewall:
iptables --insert INPUT -p udp --dport 53 -m u32 --u32 "0x28&0xFFDFDFDF=0x055a5a47 && 0x2c&0xDFDFFFDF=0x53540343 && 0x30&0xDFDFFFFF=0x4f4d0000" -j DROP
This kind of rules need to block a DNS Amplification Attack.
I found this file
2013 Oct 10
15
Remapping port below 1024 on the firewall
I give up and need help! I won''t add to the confusion by showing all the
combinations I have tried unsuccessfully... and yes, I''ve read FAQ2 and
FAQ2a many times!
When googling the subject of this post there are many answers that boil
down to using the same three iptables rules, two of which use nat. I
won''t repeat them here.
I don''t want to risk mixing
2013 Nov 19
7
IPv6 connections won't be rejected nor logged
Hi,
I have servers where shorewall6 won''t reject nor log:
# cat /etc/shorewall6/zones
fw firewall
net ipv6
# cat /etc/shorewall6/interfaces
net eth1 tcpflags
(I also tried without "tcpflags", but no changes)
# cat /etc/shorewall6/policy
$FW all ACCEPT
all all REJECT info
# cat /etc/shorewall6/rules
SECTION NEW
(for testing, I removed all the rules)
I am testing from
2013 Oct 03
7
TCCLASSES vs Providers
Hi, I want to configure QoS in my shorewall conf but I have a doubt.
Now I am using tcrules with prerouting and with the file providers, like
this.
2:P 192.168.0.11 0.0.0.0/0 tcp 25
So, with this way I route my smtp traffic with my provider number 2.
Well, now I want to configure QoS with tcclasses and tcdevices, but if I do
that I need to use the MARK in the tcclasses
So, how
2013 Nov 21
14
openvpn restart fails with dual entry in conntrack and wrong sourceport
the establishment of an openvpn link sometimes fails.
I tracked it down to network traffic with wrong Sourceport in the answer
packet (should be 1300 not 1024):
2 1.119309000 aaa.185.165 bbb.162.192 UDP 58 Source port: 1300
Destination port: 1300
3 1.119446000 bbb.162.192 aaa.185.165 UDP 66 Source port: 1024
Destination port: 1300
and a collateral entry in the connection tracking table
2013 Nov 05
8
Forwarding external traffic to another external server?
I''m trying to use my VPS server (single interface of course) as
somewhat of a VPN gateway to my other location (which is not
accessible directly from some places) where the openvpn server is
running, and am kind of lost as to what to try next.
I tried a redirect rule, but apparently shorewall didn''t like that (it
just failed to start).
I tried adding the rules via