Trace: gateway_openbsd

Aktifkan forwarding paket

sysctl net.inet.ip.forwarding=1

arau biar selalu aktif ketika komputer booting tambahkan baris berikut di /etc/sysctl.conf

#net.inet.ip.forwarding=1

menjadi

net.inet.ip.forwarding=1

buat rules nat di pf.conf

ext_if = vr0
int_if = xl0
#nat
nat on $ext_if from 192.168.1.0/24 to any -> ($ext_if)

beress…, gampang kan?

 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki