Setting Mikrotik Warnet

ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 192.168.1.2/24 192.168.1.0 192.168.1.255 ether1
1 192.168.0.1/24 192.168.0.0 192.168.0.255 ether2
2 192.168.2.2/24 192.168.2.0 192.168.2.255 ether3
3 D ip dari Speedy/32 gateway speedy 0.0.0.0 p

ip firewall nat print
0 ;;; Added by webbox
chain=srcnat action=masquerade src-address=192.168.0.0/24
src-address-list="" out-interface=pppoe-out1

1 X chain=dstnat action=redirect protocol=icmp in-interface=ether2

> ip firewall mangle print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=prerouting action=mark-connection new-connection-mark=ICMP-CM
passthrough=yes protocol=icmp src-address=192.168.0.0/24

1 chain=prerouting action=mark-packet new-packet-mark=ICMP-PM
passthrough=yes connection-mark=ICMP-CM

2 chain=prerouting action=change-dscp new-dscp=0 packet-mark=ICMP-PM

3 chain=prerouting action=mark-connection new-connection-mark=DNS-CM
passthrough=yes protocol=tcp src-address=192.168.0.0/24 dst-port=53

4 chain=prerouting action=mark-connection new-connection-mark=DNS-CM
passthrough=yes protocol=udp src-address=192.168.0.0/24 dst-port=53

5 chain=prerouting action=mark-packet new-packet-mark=DNS-PM passthrough=yes
connection-mark=DNS-CM

6 chain=prerouting action=change-dscp new-dscp=0 packet-mark=DNS-PM

0 komentar:

Post a Comment

http://www.hokynet.com http://www.hokynet.com http://www.hokynet.com http://www.hokynet.com http://www.hokynet.com http://www.hokynet.com