/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */


Maikel C.F. Vredenburg [mailto:[EMAIL PROTECTED]] wrote:
> I have got a static IP adress for internet and ISDN device = ippp0
> Local network is the 192.168.1.0/24
> 
> Now here are my NEWBIE Questions
> 
> Need a iptables script to see how this works I have tryed it 
> do it myself but with some suxcess.

Check out http://www.asgardsrealm.net/linux/firewall

> I have IP masq working but for "thing" I cannot ftp, telnet 
> pop smtp from my local network to my Linux box.
> Als I have a rule for loggin and that is:
> iptables -A firewall -j LOG --log-level info --log-prefix Firewall:
> 
> This works oke but it logs in /var/log/messages and that is 
> not working out. I like to create a new logfile.
> I have looked at syslog.conf but also again I dont understand it.
> Please help me solve these things.

How is this "not working out"?  Based on your statements above, you can
filter your messages log with a command like "cat /var/log/messages | grep
"Firewall:" | less".  This will give you just entries containing "Firewall:"
somewhere in them and allow you to scroll up and down through the log.

Jamin W. Collins

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to