how i can do this plzz

i have sxt , and i am a client , i want to connect broadband inside the sxt and get internet direct in my pc ( get internet direct when open my pc )

not so difficult… :slight_smile:
What do u do (what settings do u set on Windows) to get ur connection established?

i know how i can do this in windows , but i whant this in mikrotik sxt

Simple:

servers: wan ip
allow-remote-requests: yes
max-udp-packet-size: 512
cache-size: 2048K
cache-max-ttl: 1w
cache-used: 44KiB

Masquerade WAN Network - chain=srcnat action=masquerade

Route wan ip - ADC 192.168.1.0/24 192.168.1.2 WAN

didnot work, plz how i do this Manually not secript , thank you Bongo

Masquerade WAN Network - chain=srcnat action=masquerade
Route wan ip - ADC 192.168.1.0/24 192.168.1.2 WAN

Dont suggest things like that… it will never work!

mkh, I asked u to give me your setting to understand how u connect to INTERNET…
U said broadband? Do u mean ppoe connection ? Do u have username or password… Do u have to connect manually every time u turn on the PC or… what?
Just tell me how u connect to internet! If u are not sure tell what u do on ur windows, so I will tell u what to do in Mk SXT… :slight_smile:
Thats why I asked for that!

stenlyto first thnks for ur help ..

Do u mean ppoe connection = yes i mean pppoe
Do u have username or password = yes i have user and password
(( i know how connect pppoe in windows , but i whant put my username and password of pppoe connection inside my mk.sxt to getting internet direct when turn on my pc without using pppoe windows connection )) .
after connect to AP signal :
what i do : =>
first = ( ip=> address=add, address: 192.168.0.0/24 , interface: ether1 )
2’nd = maked DHCP server ,after repair my lan get ip 192.168.0.254
3’rd = maked pppoe client and put my username and password in (Dial Out) option ,the status
is connected
4’th = ( ip=> fierwall = NAT = add ,chain: srcnat , Out. interface: ether1 .
in action:masquerade) .

You’re masquerading on the wrong interface. With src-nat, you are changing the Source IP address of the packet. This must therefore happen on the external/public interface as you are ‘hiding’ or masquerading the true internal IP the packet is coming from and changing the source IP in the header of the packets as if they came from your external interface’s IP address. In this way traffic in the internet knows where to return back the traffic to you.

So, you have it on ether1, which is connected to your PC, but instead you must change src-nat to your pppoe interface.

Ron

Here it is, ur mistake :slight_smile:

Think for a moment…

Following your detailes u should have gotten something like that?

[admin@your-router] /ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat action=masquerade > out-interface=ether1

Correct me if wrong, but u have set your private network on Ether1
If this is right? My question is : Why did u put interface Ether1 as out-interface?

Now u have two options

  1. change the rule to
    0 chain=srcnat action=masquerade out-interface=“the interface where u set your pppoe client”
  2. change the rule to
    0 chain=srcnat action=masquerade src-address=192.168.0.0/24

1st option → Mikrotik will translate all the networks that are directly connected
2nd option → Mikrotik will translate network 192.168.0.0/24 which is actually your private network (between Mk and your PC)

hi..
i doing your options but didn’t change anything.. ? what is solution :frowning:

export your current firewall rules and let’s check what is wrong?

A question?

Before using SXT, did u reset the current configuration and then did u remove the default configuration…
cause SXT is comming with a default configuration, with DHCP server (192.168.88.0) and a few other thing that could make ur idea impossible :slight_smile:
Make sure u have removed all default configurations before u start configuring following ur idea and our suggestions !

MR.nest…
please you tell me what be must i doing in detail ..?


MR.stenlyto
do you mean system reset, and after reset, remove all configurations.. ?
Yes, I did it

ISP (PPPoE Server) → (ISP Antenna) ))))))))))5GHz)))))))))) (SXT antenna) -----cable connection----Your PC

Is that your network topology…
If so?

  1. Reset Configuration
  2. Establish 5GHz wireless connection with your ISP
  3. Create PPPOE client
  4. After PPPOE client connected, make sure u have received an IP address, DNS address, and a gateway route have been added to your routing table!
  5. Put Address on ether1 (10.20.30.1/24)
  6. Run DHCP setup
  7. Follow the questions, make sure that the DHCP server configuration wizard will suggest u the right DNS settings!
  8. Add a NAT rule to your routing table ( as I suggested u)

Job DONE!
It should be working.
Try INTERNET on SXT first… (ping 8.8.8.8, thats Google DNS… it will respond!)

In Winbox. Click on “New Terminal”. Then type:

/ip firewall nat export file=firewall

Then in Files, copy the file “firewall.rsc” to your Desktop (see icons for copy/paste - highlight the firewall.rsc file and then click on the copy icon)
Then paste the content of that file ‘firewall.rsc’ to a new message here so we can see your firewall config.

that’s what i doing According to your suggestions .. please watch it
sxt.rar (2 MB)

mkh - when you send me your config, I will be happy to assist further. I am sorry, but I don’t have the time to watch a video of you setting up your router and hoping that by very good luck I catch a few milliseconds of a screen that will show me your configuration. :frowning: Sorry, but please send me your config export. If you are worried for security, then send it to my email address. This way I can study the config in detail.

Thank you.

ok nest ... :smiley: thanks for help me

that's my export:

[admin@MikroTik] > /ip firewall nat export

jan/02/1970 00:07:43 by RouterOS 4.14

software id = NA4N-PJ3L

/ip firewall nat
add action=masquerade chain=srcnat comment="" disabled=no out-interface=wlan1
src-address=192.168.0.0/24

There is no need to specify both the interface and the address. Get rid of the address, leave just the outgoing interface. I said before “you must change src-nat to your pppoe interface”. (Also, stenlyto said the same) :slight_smile: Your config shows you have now changed your masquerade to your wireless interface? It must be the pppoe interface as that is the interface that has the internet connection, your wireless interface is only connected to the AP, not the internet.

/ip firewall nat add chain=srcnat action=masquerade out-interface=Name_Of_Your_PPPoE_Interface

also not working ... :frowning:

[admin@MikroTik] > ip firewall nat export

jan/02/1970 00:13:01 by RouterOS 4.14

software id = NA4N-PJ3L

/ip firewall nat
add action=masquerade chain=srcnat comment="" disabled=no out-interface=
pppoe-out1