Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo-sources custom security level?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
je_fro
Retired Dev
Retired Dev


Joined: 14 Dec 2002
Posts: 236
Location: Republic of Texas

PostPosted: Thu Jun 12, 2003 1:35 pm    Post subject: gentoo-sources custom security level? Reply with quote

I'm trying to RTFM on this one, but there's a lot and I'm going to be late for P-Chem... :lol:

I set up a firewall with the gentoo-sources kernel, compiled the default "custom security level" settings into the kernel, and followed some of the suggestions in "Securing Gentoo" docs for securing the box.
I have nat going, and I can surf from internal computers, but an internal apache box cna't be reached. There are a few lines that I'm not too sure about in my iptables script and I was hoping somebody here could shed some light...
echo "0" > /proc/sys/net/ipv4/conf/all/accept_source_route
echo "0" > /proc/sys/net/ipv4/conf/all/accept_redirects
<are the above lines messing up nat to my apache box?>

<I have this in below...>
iptables -A FORWARD -j ACCEPT -p tcp --dport 80
iptables -A PREROUTING -t nat -p tcp -i $WAN_NIC --dport 80 -j DNAT --to 192.168.xx.yy:80

Any help greatly appreciated...sheesh, I'm going to be late!


8O

Thanks,
J
_________________
Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect.
--Linus Torvalds

My site with some gentoo config files:
http://je-fro.net/page.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum