nixCraft Linux / UNIX / Shell Scripting Forum

nixCraft

Linux / UNIX Tech Support Forum

running pf on two firewalling machine.

This is a discussion on running pf on two firewalling machine. within the All about FreeBSD/OpenBSD/NetBSD forums, part of the *BSD Operating systems category; Hi I kindly needed an assistance regarding packet filter coding. This is all I am trying to do. I have ...


Register free or login to your account to remove all advertisements.

Go Back   nixCraft Linux / UNIX / Shell Scripting Forum > *BSD Operating systems > All about FreeBSD/OpenBSD/NetBSD

Linux answers from nixCraft.


All about FreeBSD/OpenBSD/NetBSD Discuss all about the Rock solid FreeBSD/OpenBSD/NetBSD. You are free to talk about any issues related to BSD administration, networking, services and other stuff, share information or ask doubts.

Reply

 

Thread Tools Display Modes
  #1 (permalink)  
Old 12th October 2009, 12:50 AM
Junior Member
 
Join Date: Oct 2009
OS: OpenBSD
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mattjam is on a distinguished road
Default running pf on two firewalling machine.

Hi I kindly needed an assistance regarding packet filter coding. This is all I am trying to do.
I have got two firewalling machines with squid on them. On the first machine it is dynamically connected to the internet: interface rl0 and rl1 IP (192.168.1.0). The second machine have a static IP of 192.168.1.120,xl0 and xl1 192.168.2.0.
Please can anyone tell me how to do the coding in packet filter so that all the incoming and outgoing packet must pass through the second machine. I am a newbie.
THanks
Reply With Quote
  #2 (permalink)  
Old 13th October 2009, 04:47 AM
nixcraft's Avatar
Never say die
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash, Perl, Python
Posts: 3,300
Thanks: 13
Thanked 413 Times in 306 Posts
Rep Power: 10
nixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond repute
Default

This will help:
PF: The OpenBSD Packet Filter

Start with a single machine and move to NAT PF: Network Address Translation (NAT)
__________________
Vivek Gite
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Do you run a Linux? Let's face it, you need help!
Cricket & IPL News Blog
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
run script on remote machine cosminnci Shell scripting 4 29th October 2009 11:05 PM
Red Hat Linux Forwarding port to other machine kasimani CentOS / RHEL / Fedora 3 12th September 2008 10:37 AM
Best Linux distro for a not fast machine Azmandius The Hangout 6 24th March 2008 10:31 PM
virtual machine detection nikale Getting started tutorials 1 4th March 2008 03:37 AM
Can't ping to a linux box by its machine name. lacloai Linux software 6 17th May 2007 02:56 AM


All times are GMT +5.5. The time now is 01:08 PM.


Powered by vBulletin® Version 3.8.6 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40