How to create Rooms/Games ( host of the games ) :
These Router setting only for cybercafe staff/owner ( expert only )
Linux Router :
eth1 = local ethernet
eth0 = public ethernet
Step One
open /etc/rc.d/rc.local –> redhat, slackware,fedora , exect ubuntu using /etc/rc.local
type –> vi /etc/rc.d/rc.local
Step Two
Start editing , put these fit with your net configuration setting.
Forwarding public ip to lokal ip
[quote]
##First PC
/sbin/iptables -t nat -I PREROUTING -i eth1 -p tcp -d 202.159.53.20 –dport 6112 -j DNAT –to-destination 192.168.0.1:6112
/sbin/iptables -t nat -I PREROUTING -i eth1 -p udp -d 202.159.53.20 –dport 6112 -j DNAT –to-destination 192.168.0.1:6112
##Second Pc
/sbin/iptables -t nat -I PREROUTING -i eth1 -p tcp -d 202.159.53.20 –dport 6113 -j DNAT –to-destination 192.168.0.2:6113
/sbin/iptables -t nat -I PREROUTING -i eth1 -p udp -d 202.159.53.20–dport 6113 -j DNAT –to-destination 192.168.0.2:6113
[/quote]do the same with others pc, dont forget to fit the ip and port at the client pc and Games client port.
NEXT….
Step Three
[quote] /sbin/iptables -t nat -A POSTROUTING -o eth0 -s 192.168.0.0/24 -j SNAT –to-source 202.159.53.20
[/quote]#Save/restore configuration
/sbin/iptables-save > /etc/sysconfig/iptables.rules
/sbin/iptables-restore saving /etc/rc.d/rc.local
Step Four ( Type in root terminal )
Quote:
/sbin/service iptables save
/sbin/iptables-save > iptables-rules
/sbin/iptables-restore reboot pc router.
Damned di handbook gak ada hiks… capek dah ::swt:: untung berhasil…
Mikrotik router :
Contoh :
ip public lu : 202.123.3.2
ip local ( pc client ) : 192.168.0.101-sampe sebanyak2nya kompi lu dah.. zzz
- Buka Terminal di winbox , copy paste yang ada dibawah ini ( susun dulu yah biar rapih , sesuai dengan ip lu / settingan lu ).
/ip firewall nat
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6001 action=dst-nat to-addresses=192.168.0.101 to-ports=6001
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6002 action=dst-nat to-addresses=192.168.0.102 to-ports=6002
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6003 action=dst-nat to-addresses=192.168.0.103 to-ports=6003
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6004 action=dst-nat to-addresses=192.168.0.104 to-ports=6004
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6005 action=dst-nat to-addresses=192.168.0.105 to-ports=6005
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6006 action=dst-nat to-addresses=192.168.0.106 to-ports=6006
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6007 action=dst-nat to-addresses=192.168.0.107 to-ports=6007
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6008 action=dst-nat to-addresses=192.168.0.108 to-ports=608
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6009 action=dst-nat to-addresses=192.168.0.109 to-ports=609
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6010 action=dst-nat to-addresses=192.168.0.110 to-ports=6010
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6011 action=dst-nat to-addresses=192.168.0.111 to-ports=6011
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6012 action=dst-nat to-addresses=192.168.0.112 to-ports=6012
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6013 action=dst-nat to-addresses=192.168.0.113 to-ports=6013
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6014 action=dst-nat to-addresses=192.168.0.114 to-ports=6014
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6015 action=dst-nat to-addresses=192.168.0.115 to-ports=6015
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6016 action=dst-nat to-addresses=192.168.0.116 to-ports=6016
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6017 action=dst-nat to-addresses=192.168.0.117 to-ports=6017
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6018 action=dst-nat to-addresses=192.168.0.118 to-ports=6018
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6019 action=dst-nat to-addresses=192.168.0.119 to-ports=6019
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6020 action=dst-nat to-addresses=192.168.0.120 to-ports=6020
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6021 action=dst-nat to-addresses=192.168.0.121 to-ports=6021
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6022 action=dst-nat to-addresses=192.168.0.122 to-ports=6022
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6023 action=dst-nat to-addresses=192.168.0.123 to-ports=6023
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6024 action=dst-nat to-addresses=192.168.0.124 to-ports=6024
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6025 action=dst-nat to-addresses=192.168.0.125 to-ports=6025
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6026 action=dst-nat to-addresses=192.168.0.126 to-ports=6026
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6027 action=dst-nat to-addresses=192.168.0.127 to-ports=6027
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6028 action=dst-nat to-addresses=192.168.0.128 to-ports=6028
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6029 action=dst-nat to-addresses=192.168.0.129 to-ports=6029
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6030 action=dst-nat to-addresses=192.168.0.130 to-ports=6030
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6031 action=dst-nat to-addresses=192.168.0.131 to-ports=6031
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6032 action=dst-nat to-addresses=192.168.0.132 to-ports=6032
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6033action=dst-nat to-addresses=192.168.0.133 to-ports=6033
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6034 action=dst-nat to-addresses=192.168.0.134 to-ports=6034
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6035 action=dst-nat to-addresses=192.168.0.135 to-ports=6035
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6036 action=dst-nat to-addresses=192.168.0.136 to-ports=6036
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6037 action=dst-nat to-addresses=192.168.0.137 to-ports=6037
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6038 action=dst-nat to-addresses=192.168.0.138 to-ports=6038
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6039 action=dst-nat to-addresses=192.168.0.139 to-ports=6039
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6040 action=dst-nat to-addresses=192.168.0.140 to-ports=6040
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6041 action=dst-nat to-addresses=192.168.0.141 to-ports=6041
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6042 action=dst-nat to-addresses=192.168.0.142 to-ports=6042
aadd chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6043 action=dst-nat to-addresses=192.168.0.143 to-ports=6043
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6044 action=dst-nat to-addresses=192.168.0.144 to-ports=6044
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6045 action=dst-nat to-addresses=192.168.0.145 to-ports=6045
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6046 action=dst-nat to-addresses=192.168.0.146 to-ports=6046
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6047 action=dst-nat to-addresses=192.168.0.147 to-ports=6047
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6048 action=dst-nat to-addresses=192.168.0.148 to-ports=6048
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6049 action=dst-nat to-addresses=192.168.0.149 to-ports=6049
- Langkah terakhir , masquerade network 192.168.0.0/24
# /ip firewall nat add chain=srcnat src-address=192.168.0.0/24 action=masquerade
####################################################################
atau sama aja dengan
/ip firewall add chain=dst-nat dst-address=[ip-public loe] protocol=tcp protocol=[biarin aja default] action=dst-nat to address=[ip address lokal l]
atau bisa juga dengan
/ip firewall nat add chain=dstnat dst-address=[ip addess public loe]
action=netmap to-addresses=[ip address lokal]
/ip firewall nat add chain=srcnat src-address=[ip address lokal loe]
action=netmap to-addresses=[ip public loe]
tinggal piliha yang mana dehh kikikikiki….
These Router setting only for cybercafe staff/owner ( expert only )
Linux Router :
eth1 = local ethernet
eth0 = public ethernet
Step One
open /etc/rc.d/rc.local –> redhat, slackware,fedora , exect ubuntu using /etc/rc.local
type –> vi /etc/rc.d/rc.local
Step Two
Start editing , put these fit with your net configuration setting.
Forwarding public ip to lokal ip
[quote]
##First PC
/sbin/iptables -t nat -I PREROUTING -i eth1 -p tcp -d 202.159.53.20 –dport 6112 -j DNAT –to-destination 192.168.0.1:6112
/sbin/iptables -t nat -I PREROUTING -i eth1 -p udp -d 202.159.53.20 –dport 6112 -j DNAT –to-destination 192.168.0.1:6112
##Second Pc
/sbin/iptables -t nat -I PREROUTING -i eth1 -p tcp -d 202.159.53.20 –dport 6113 -j DNAT –to-destination 192.168.0.2:6113
/sbin/iptables -t nat -I PREROUTING -i eth1 -p udp -d 202.159.53.20–dport 6113 -j DNAT –to-destination 192.168.0.2:6113
[/quote]do the same with others pc, dont forget to fit the ip and port at the client pc and Games client port.
NEXT….
Step Three
[quote] /sbin/iptables -t nat -A POSTROUTING -o eth0 -s 192.168.0.0/24 -j SNAT –to-source 202.159.53.20
[/quote]#Save/restore configuration
/sbin/iptables-save > /etc/sysconfig/iptables.rules
/sbin/iptables-restore saving /etc/rc.d/rc.local
Step Four ( Type in root terminal )
Quote:
/sbin/service iptables save
/sbin/iptables-save > iptables-rules
/sbin/iptables-restore reboot pc router.
Damned di handbook gak ada hiks… capek dah ::swt:: untung berhasil…
Mikrotik router :
Contoh :
ip public lu : 202.123.3.2
ip local ( pc client ) : 192.168.0.101-sampe sebanyak2nya kompi lu dah.. zzz
- Buka Terminal di winbox , copy paste yang ada dibawah ini ( susun dulu yah biar rapih , sesuai dengan ip lu / settingan lu ).
/ip firewall nat
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6001 action=dst-nat to-addresses=192.168.0.101 to-ports=6001
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6002 action=dst-nat to-addresses=192.168.0.102 to-ports=6002
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6003 action=dst-nat to-addresses=192.168.0.103 to-ports=6003
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6004 action=dst-nat to-addresses=192.168.0.104 to-ports=6004
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6005 action=dst-nat to-addresses=192.168.0.105 to-ports=6005
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6006 action=dst-nat to-addresses=192.168.0.106 to-ports=6006
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6007 action=dst-nat to-addresses=192.168.0.107 to-ports=6007
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6008 action=dst-nat to-addresses=192.168.0.108 to-ports=608
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6009 action=dst-nat to-addresses=192.168.0.109 to-ports=609
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6010 action=dst-nat to-addresses=192.168.0.110 to-ports=6010
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6011 action=dst-nat to-addresses=192.168.0.111 to-ports=6011
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6012 action=dst-nat to-addresses=192.168.0.112 to-ports=6012
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6013 action=dst-nat to-addresses=192.168.0.113 to-ports=6013
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6014 action=dst-nat to-addresses=192.168.0.114 to-ports=6014
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6015 action=dst-nat to-addresses=192.168.0.115 to-ports=6015
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6016 action=dst-nat to-addresses=192.168.0.116 to-ports=6016
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6017 action=dst-nat to-addresses=192.168.0.117 to-ports=6017
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6018 action=dst-nat to-addresses=192.168.0.118 to-ports=6018
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6019 action=dst-nat to-addresses=192.168.0.119 to-ports=6019
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6020 action=dst-nat to-addresses=192.168.0.120 to-ports=6020
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6021 action=dst-nat to-addresses=192.168.0.121 to-ports=6021
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6022 action=dst-nat to-addresses=192.168.0.122 to-ports=6022
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6023 action=dst-nat to-addresses=192.168.0.123 to-ports=6023
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6024 action=dst-nat to-addresses=192.168.0.124 to-ports=6024
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6025 action=dst-nat to-addresses=192.168.0.125 to-ports=6025
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6026 action=dst-nat to-addresses=192.168.0.126 to-ports=6026
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6027 action=dst-nat to-addresses=192.168.0.127 to-ports=6027
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6028 action=dst-nat to-addresses=192.168.0.128 to-ports=6028
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6029 action=dst-nat to-addresses=192.168.0.129 to-ports=6029
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6030 action=dst-nat to-addresses=192.168.0.130 to-ports=6030
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6031 action=dst-nat to-addresses=192.168.0.131 to-ports=6031
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6032 action=dst-nat to-addresses=192.168.0.132 to-ports=6032
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6033action=dst-nat to-addresses=192.168.0.133 to-ports=6033
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6034 action=dst-nat to-addresses=192.168.0.134 to-ports=6034
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6035 action=dst-nat to-addresses=192.168.0.135 to-ports=6035
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6036 action=dst-nat to-addresses=192.168.0.136 to-ports=6036
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6037 action=dst-nat to-addresses=192.168.0.137 to-ports=6037
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6038 action=dst-nat to-addresses=192.168.0.138 to-ports=6038
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6039 action=dst-nat to-addresses=192.168.0.139 to-ports=6039
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6040 action=dst-nat to-addresses=192.168.0.140 to-ports=6040
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6041 action=dst-nat to-addresses=192.168.0.141 to-ports=6041
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6042 action=dst-nat to-addresses=192.168.0.142 to-ports=6042
aadd chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6043 action=dst-nat to-addresses=192.168.0.143 to-ports=6043
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6044 action=dst-nat to-addresses=192.168.0.144 to-ports=6044
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6045 action=dst-nat to-addresses=192.168.0.145 to-ports=6045
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6046 action=dst-nat to-addresses=192.168.0.146 to-ports=6046
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6047 action=dst-nat to-addresses=192.168.0.147 to-ports=6047
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6048 action=dst-nat to-addresses=192.168.0.148 to-ports=6048
add chain=dstnat dst-address=(Masukin Ip pub /external, contoh 202.123.3.2 ) protocol=tcp src-port=6049 action=dst-nat to-addresses=192.168.0.149 to-ports=6049
- Langkah terakhir , masquerade network 192.168.0.0/24
# /ip firewall nat add chain=srcnat src-address=192.168.0.0/24 action=masquerade
####################################################################
atau sama aja dengan
/ip firewall add chain=dst-nat dst-address=[ip-public loe] protocol=tcp protocol=[biarin aja default] action=dst-nat to address=[ip address lokal l]
atau bisa juga dengan
/ip firewall nat add chain=dstnat dst-address=[ip addess public loe]
action=netmap to-addresses=[ip address lokal]
/ip firewall nat add chain=srcnat src-address=[ip address lokal loe]
action=netmap to-addresses=[ip public loe]
tinggal piliha yang mana dehh kikikikiki….
Tidak ada komentar:
Posting Komentar