[FUG-BR] PPTP atraz de nat

Rafael Floriano Sousa Sales rafael.sales em gmail.com
Qui Jul 21 14:59:31 BRT 2005


Olá, tenho em alguns clientes este processo em funcionamento tente
adicionar coisas como:

tcp_options = "flags S/SAFRUP keep state"
tcp_options_2 = "keep state"

nat on $external_if inet from $internal_network to any -> $ip_externo_2

rdr on $external_if proto gre from any to $ip_externo_2 -> $ip_interno_2
rdr on $external_if proto tcp from any to $ip_externo_2 port { 1723}
-> $ip_interno_2
rdr on $external_if proto udp from any to $ip_externo_2 port {1723 }
-> $ip_interno_2

pass quick proto gre all $tcp_options_2
pass quick proto tcp from any to any port = pptp $tcp_options_2

pass in quick on $external_if inet proto tcp from any to any port { 1723 }

Tive alguns problemas com a optmização agressiva de pacotes, pois
qualquer conexao ociosa o pf ja descartava.

Abraços


-- 
Atenciosamente,

Rafael Floriano Sousa Sales



------------------------------------------------------------------------------------------
    Rafael Floriano Sousa Sales       : rafael.sales em gmail.com
      (Office) 55 11 4051-2204        :  (Mobile) 55 11 8433-2281
--------------------------------------------------------------------------------------------
[System Administration][IT Consulting][Computer Sales/Repair]

_______________________________________________
Freebsd mailing list
Freebsd em fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br




Mais detalhes sobre a lista de discussão freebsd