Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 21st February 2012, 07:39
arspoetica arspoetica is offline
Junior Member
Join Date: Dec 2011
Posts: 27
Thanks: 1
Thanked 1 Time in 1 Post
Default Shorewall is blocking apt-get among other things

So I am have the problems described in this thread


but I have narrowed it down somewhat. I am using openvz and the problem child is a container. I started off opening the ports by policy to verify that it was the containers firewall rather than the main firewall, and it worked so after that I started sectioning off ports using ranges. Apt-get, lynx and pinging a site started working when I set the open tcp/udp (has to be both) ports to 40000:60000.... Here is my rules file, and I assure you that when I set the net2fw policy to accept everything works

ACCEPT all $FW tcp 462
#ACCEPT all all tcp 40000:60000
#ACCEPT all all udp 40000:60000
ACCEPT all net udp 53
ACCEPT all net tcp 53
ACCEPT net all udp 53
ACCEPT net all tcp 53
ACCEPT $FW net icmp
ACCEPT net $FW icmp

Any ideas?

EDIT: Or might it be better to setup parent zones on the host server?

Last edited by arspoetica; 21st February 2012 at 20:02. Reason: Additional info / formatting
Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
IP tables blocking remote vpn access dalitso Server Operation 14 12th January 2010 18:17
instalation shorewall on the webmin kipluxer Installation/Configuration 0 30th May 2009 08:32
[ask]error the configurasi shorewall kipluxer Installation/Configuration 1 3rd May 2009 18:11
No-ip.info account and shorewall Reptile Installation/Configuration 2 16th November 2007 19:20
Ubuntu-Server 6.10 As A Firewall/Gateway Vpn Server Problem steveomach3ww HOWTO-Related Questions 6 26th March 2007 14:35

All times are GMT +2. The time now is 05:14.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.