script configuration

i configure my microtik but i did not able to ping yahoo .fr and i was not able to browse in internet
there are the script that i write


1 chain=srcnat = masquerade out-interface = public action=accept

2 chain=srcnat src-address action=accept

3 chain=srcnat src-address = 192.168.1.0/24 action = src-nat \ to-address =
83.229.117.16\28
action=accept

4 chain=dstnat dst-address = 83.229.117.16/28 action = dst-nat \ to-address
= 192.168.1.0/24
action=accept

5 chain=action=masquerade out-interface=public chain=srcnat action=accept
[admin@MikroTik] ip firewall nat> /
[admin@MikroTik] > ip route
[admin@MikroTik] ip route> print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf

DST-ADDRESS PREFSRC G GATEWAY DISTANCE INTERFACE

0 ADC 83.229.117.16/28 83.229.117.22 public
1 ADC 192.168.1.0/24 192.168.1.55 local
2 S 0.0.0.0/0 83.229.117.17 r 83.229.117.22 public
[admin@MikroTik] ip route>

i have 3 interface but i am working with 2 that i configure
my local network 192.168.1.0/24
my local interface 192.168.1.55/24
my public network 83.229.117.16/28
my public interface 83.229.117.22
[admin@MikroTik] > ip firewall nat
[admin@MikroTik] ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=192.168.1.0/24 action = masquarade out interface = public
action=accept

1 chain=srcnat = masquerade out-interface = public action=accept

2 chain=srcnat src-address action=accept

3 chain=srcnat src-address = 192.168.1.0/24 action = src-nat \ to-address =
83.229.117.16\28
action=accept

4 chain=dstnat dst-address = 83.229.117.16/28 action = dst-nat \ to-address
= 192.168.1.0/24
action=accept

5 chain=action=masquerade out-interface=public chain=srcnat action=accept


[adm
[admin@MikroTik] ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=192.168.1.0/24 action = masquarade out interface = public
action=accept

1 chain=srcnat = masquerade out-interface = public action=accept

2 chain=srcnat src-address action=accept

3 chain=srcnat src-address = 192.168.1.0/24 action = src-nat \ to-address =
83.229.117.16\28
action=accept

4 chain=dstnat dst-address = 83.229.117.16/28 action = dst-nat \ to-address
= 192.168.1.0/24
action=accept

5 chain=action=masquerade out-interface=public chain=srcnat action=accept
[admin@MikroTik] ip firewall nat>



did i do somme mistake please help me


Try add dns ip from your provider:

/ip dns set primary-dns=x.x.x.x



/ip dns set secondary-dns=y.y.y.y

than check status:

/ip dns print

regards
Hasbullah.com