Olá,

Tirando este email digamos "NERVOSO",

# Passo 1
sysctl net.link.ether.ipfw=1

# Passo 2
ipfw add pass ip from any to any MAC 00:00:00:00:00:01 any

lembando se você quiser permitir o trafego somente entre dois hosts,
basta colocar outro mac address no final  retirando o "any" e  criando
outra regra invertida sendo assim:

Mac address Host A: 00:00:00:00:00:01
Mac address Host A: 00:00:00:00:00:02

# Passo 3 Host A -> B
ipfw add pass ip from any to any MAC 00:00:00:00:00:01 MAC 00:00:00:00:00:02

# Passo 4 Host B -> A
ipfw add pass ip from any to any MAC 00:00:00:00:00:02 MAC 00:00:00:00:00:01


--
Atenciosamente

Rafael Floriano Sousa Sales
Segurança da  Informação
Tompast IT Services
e-mail: [EMAIL PROTECTED]
+55-11-4051-2204
+55-11-8433-2281

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

Responder a