Re: [FreeBSD] static route

2006-03-20 Thread Ahmet FIRAT



redirect_port tcp 192.168.16.2:3389 
3389
 
seklinde
 

  - Original Message - 
  From: 
  Ömer Koyun 
  
  To: FreeBSD FreeBSD 
  Sent: Monday, March 20, 2006 11:39 
  AM
  Subject: [FreeBSD] static route
  
  Herkese merhaba
   
  natd.conf ile static route nasýl yapabilirim. Nasýl bir parametre 
  yazabilirim
   
   
  
  
  Yahoo! MailBring photos to life! New 
  PhotoMail makes sharing a breeze. 


Re: [FreeBSD] static route

2006-03-20 Thread �mer
Merhaba      Asýl probemim þu..        Lan (172.10.1.X)Layer3 Switch(172.10.1.1-10.1.1.10)-(10.1.1.11)FreeBSD(192.168.0.1)-(192.168.0.2)ADSLModem            Layer3 Switch'in 24 nolu portuna (172.10.1.1 ve 10.1.1.10) Ýplerini ,  FreeBSD 'nin iç Network (10.1.1.11) dýþ network (192.168.0.1) ve ADSL modeme ise (192.168.0.2) þeklinde yapýlandýrdým. Fakat Layer3 Switch'den FreeBSD ve Modem'e ping atabiliyorum ve switch tarfýnda sorunum yok ama FreeBSD'den sadece 10.1.1.10 ipsine ping atabiliyorum ve 172.10.1.X networkune ping atamýyorum. Bu durumda ne yapmam gerekiyor.     Teþekkürler.. 
          Ahmet FIRAT <[EMAIL PROTECTED]> wrote:  redirect_port tcp 192.168.16.2:3389 3389     seklinde   - Original Message -   From: Ömer Koyun   To: FreeBSD FreeBSD   Sent: Monday, March 20, 2006 11:39 AM  Subject: [FreeBSD] static routeHerkese merhaba     natd.conf ile static route nasýl yapabilirim. Nasýl bir parametre yazabilirim        Yahoo! MailBring photos to life! New PhotoMail makes sharing a breeze. 
		Relax. Yahoo! Mail 
virus scanning helps detect nasty viruses!
		 Yahoo! Mail 
Use Photomail to share photos without annoying attachments.

Re: [FreeBSD] Static route ve PF

2009-01-29 Thread Huzeyfe ONAL(Gmail)
MErhabalar,

butun kurallarinizda loglama yaptiginiza gore paketlerin hangi
kuraldan dolayi gecemedigini pflog02i izleyerek bulabilirsiniz.

Huzeyfe ONAL
huze...@lifeoverip.net
http://www.lifeoverip.net

Ag guvenligi listesine uye oldunuz mu?
http://netsec.lifeoverip.net
---



On Thu, Jan 29, 2009 at 9:06 AM, Mehmet Zahid Öğrenç
 wrote:
> Merhabalar,
>
>
>
> Freebsd makinamda bir static route yazılı farklı bir subnete gitmek için
> faklı bir gatewaye yönlendirme yapmış durumdayım. Fakat Pf te sorun çıkıyor.
> Şöyle ki; kurallarda default olarak bütün trafiği blockladım. İçeriden
> dışarıya çıkışlarda belirli portlara izin veriyorum. Fakat static route
> çalışmıyor bu seferde. İçeride ki makinelerin dışarıya çıkışlarına full izin
> verdiğimde bu sefer route çalışıyor. Bu işi nasıl çözebilirim?
>
>
>
> Static route çalışan PF.conf:
>
>
>
> ext_if="em0"
>
> int_if="bge0"
>
> dmz_if="bge1"
>
>
>
> int_net="10.10.1.0/24"
>
> safeports="{ 21, 22, 25, 26, 53, 80, 110, 443 }"
>
> izinli="{ 10.10.1.237/32, 10.10.1.248/32 }"
>
>
>
> scrub in all
>
>
>
> nat on $ext_if from $int_net to any -> $ext_if
>
>
>
> rdr pass log(all) on $int_if proto tcp from $int_net to any port 80 ->
> 127.0.0.1 port 3128
>
>
>
> block in log(all)
>
> block out log(all)
>
>
>
> pass out keep state
>
>
>
> pass quick on lo0
>
>
>
> block in log(all) quick on $int_if proto tcp from any to any port 1863
>
>
>
> pass in log(all) on $int_if from $int_net to any keep state
>
>
>
> pass in log(all) on $ext_if proto tcp from any to ($ext_if) port 26 keep
> state
>
>
>
> pass in log(all) on $int_if proto tcp from $int_net to any port {1} keep
> state
>
>
>
> pass in log(all) on $int_if from $izinli to any keep state
>
>
>
> pass in log(all) on $int_if proto udp from $int_net to any port {53}
>
>
>
>
>
> Static Route çalışmayan PF.conf :
>
>
>
> ext_if="em0"
>
> int_if="bge0"
>
> dmz_if="bge1"
>
>
>
> int_net="10.10.1.0/24"
>
> safeports="{ 21, 22, 25, 26, 53, 80, 110, 443 }"
>
> izinli="{ 10.10.1.237/32, 10.10.1.248/32 }"
>
>
>
> scrub in all
>
>
>
> nat on $ext_if from $int_net to any -> $ext_if
>
>
>
> rdr pass log(all) on $int_if proto tcp from $int_net to any port 80 ->
> 127.0.0.1 port 3128
>
>
>
> block in log(all)
>
> block out log(all)
>
>
>
> pass out keep state
>
>
>
> pass quick on lo0
>
>
>
> block in log(all) quick on $int_if proto tcp from any to any port 1863
>
>
>
> pass in log(all) quick on $int_if proto tcp from $int_net to any port
> $safeports keep state
>
>
>
> pass in log(all) on $ext_if proto tcp from any to ($ext_if) port 26 keep
> state
>
>
>
> pass in log(all) on $int_if proto tcp from $int_net to any port {1} keep
> state
>
>
>
> pass in log(all) on $int_if from $izinli to any keep state
>
>
>
> pass in log(all) on $int_if proto udp from $int_net to any port {53}
>
>

FreeBSD 6 kitabi: http://www.acikakademi.com/catalog/freebsd6
-
Listeye soru sormadan once lutfen http://ipucu.enderunix.org sitesine bakiniz.

Cikmak icin, e-mail: freebsd-unsubscr...@lists.enderunix.org
Liste arsivi: http://news.gmane.org/gmane.org.user-groups.bsd.turkey