#networking

1 messages ยท Page 322 of 1

tame carbon
#

@thick minnow any hostname would work

#

as long as it points to the IP address of your webserver

thick minnow
#

Ok th u all I will look on to it

tame carbon
#

@thick minnow nginx is simplest thing you can use for this

#

setting up a reverse proxy with that, is only couple lines of config

#

those website 1 and 2 could be on the same server as nginx, this is just an example

#

@peak cloak are you still using apache then?

peak cloak
#

No

tame carbon
#
server {
    listen 80;
    server_name my.domain.com;

    location / {
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header Host $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_pass http://192.168.1.100:3000/;
    }
}
#

@peak cloak entire config for reverse proxy ^

#

@thick minnow ^

peak cloak
#

Never used apache really

tame carbon
#

@thick minnow this is a proxy config. This makes the address: http://my.domain.com:80/ -> your internal webserver

peak cloak
#

Never really used nginx either

#

Didn't do much web server stuff

tame carbon
#

I really like nginx because its easy to setup reverse proxy

#

as well as add SSL offloading

#

so you don't have to figure out how 2 letsencrypt every webserver

#

you can just use nginx

thick minnow
#

Th u, Iโ€™m trying it right now hope to get working

peak cloak
#

don't you love places where there is still dsl

#

and it takes 30 min to download 80 megabytes

#

soon the copper is going to be shut down lol

waxen scroll
#

Oof

#

My telco wants $60/m for 25mbit dsl which probably won't even go the full speed. Comcast wants $35/m for 100mb

peak cloak
#

and I have to use cloud docs or word because local word doesn't want to active

peak cloak
#

boy is this bad

#

all their important documents seem to be on one computer

#

a whole school's payment info and everything

#

and it's full of bloat

#

still on Win 7 which I guess is ok

#

but not really

#

and office from like 2003

#

all managed by people who barely know how to use a pc

tame carbon
#

Milk that copper

#

milk it

peak cloak
#

mcaffee...

#

too

tame carbon
#

lol isnt that preinstalled on every single computer?

peak cloak
#

Yeah...

#

It is so stupidly hard to explain anything to people

#

That are tech illiterate

tame carbon
#

@peak cloak https://farm.bot/

FarmBot

Farming and gardening robots for home, educational, and commercial use. Premium Hardware ยท Worldwide Shipping ยท Drag and Drop Farm Designer ยท Step-by-Step Assembly Instructions ยท Own Your Food

peak cloak
#

scrap mechanic survival

tame carbon
#

except with AI vision and automatic tool changing heads?

crystal shale
magic rivet
#

If i see these ones in my firewall router, is that okay?


[DoS Attack: RST Scan] from source: 34.203.133.66, port 8883, Saturday, April 10, 2021 16:32:53

[DoS Attack: ACK Scan] from source: 156.146.43.146, port 443, Saturday, April 10, 2021 16:32:30

[DoS Attack: RST Scan] from source: 34.203.133.66, port 8883, Saturday, April 10, 2021 16:31:26```
peak cloak
magic rivet
peak cloak
#

let me do it rn

#

first one is microsoft

#

second is amazon

magic rivet
#

Ahh, thank you. Then nothing ๐Ÿ˜„

peak cloak
#

not really

magic rivet
#

Looks like my router does the job anyway.

peak cloak
#

it should block any new incoming connections anyway

magic rivet
#

Appreciate your help!

slate sonnet
#

Hey guys, I have a server related question. What would be the easiest way to transfer my wireguard config, etc do a different server? I've found out that my vps provider has a data-center closer to me, meaning less ping and I want to switch to that, but I need to transfer my wireguard config, etc

peak cloak
#

scp is my go to

slate sonnet
#

Scp is what?

tame carbon
#

@slate sonnet you know how to use ssh right?

peak cloak
tame carbon
#

have you used just ftp from the commandline before?

slate sonnet
#

No

#

Never

peak cloak
tame carbon
#

you can either use sftp to get an ftp like experience

#

or you can do SCP

peak cloak
#

example

tame carbon
peak cloak
#

scp file.txt remote_username@10.10.0.2:/remote/directory

tame carbon
#

or you put them the other way around

peak cloak
#

transfers file.txt locally to a remote server

tame carbon
#

to fetch.

peak cloak
#

you can also copy between 2 remote

tame carbon
#

yep

peak cloak
#

scp user1@host1.com:/files/file.txt user2@host2.com:/files

tame carbon
#

general format is scp <from> <to>

#

if its a local file you can just use the path

#

if its a remote, you use: user@host:/path/to/dir

#

this uses SSH to set up a secure tunnel

slate sonnet
#

Ugh, this all sounds like I'm gonna screw it up first time I try it lol

tame carbon
#

@peak cloak they should change the topic, and add Here be Dragons

#

@slate sonnet if you do it wrong it will tell you

peak cloak
slate sonnet
#

ssh

tame carbon
#

inb4 rdp

peak cloak
tame carbon
#

@slate sonnet ssh can do filetransfers as well, you just use the scp command

peak cloak
#

scp goes over ssh

slate sonnet
#

Okay

tame carbon
#

so if you wanted to copy your wireguard.conf

#

idk where it is located

#

but you do

#

scp /etc/wireguard/wireguard.conf user@remote:/hom/user/wireguard.conf

#

I wouldnt copy it straight to etc, since you need root for that

#

so you copy it to your home dir first

#

and then on the remote server, you can copy it to the right dir

#

or.

#

you log in with root directly

slate sonnet
#

So to summarize, to setup wireguard and add the conf to the new server, I would need to install wireguard, and just copy the conf?

waxen scroll
#

@rocky badge that feel when linus gives up and uses home assistant

peak cloak
#

oh yeah I skimmed though the vid

tame carbon
#

@peak cloak same lol

tame carbon
#

@slate sonnet you need to move your keyfiles from wireguard as well

slate sonnet
#

Ugh, this feels like a daunting task

tame carbon
#

@slate sonnet I think you just need to recreate what you did before

#

but the steps where you create your keys

#

you can skip

#

because you've already got keys

slate sonnet
#

Guess if I screw it up, I can always start fresh lmao

tame carbon
#

you got your config

slate sonnet
#

I could just follow the guide that I followed earlier

#

And just copy the config

#

Well part of it

tame carbon
#

@slate sonnet you know that private and public key you have on your client right?

slate sonnet
#

Like the postup and postdown rules

tame carbon
#

your client has the public key of the server

#

you can either, copy the existing ID of the server

#

or

#

generate a new one

slate sonnet
#

So basically kinda what I said

tame carbon
#

but then you have to change the public key of the server of the client config.

#

yeah

#

pick your poison.

#

but I'd keep the config

slate sonnet
#

That feels easier

tame carbon
#

that is the most important part

slate sonnet
#

Aight, thank you

tame carbon
#

@slate sonnet when I migrate server

#

/etc/ , /var and /home are usually the most important ones

#

/etc holds configs

#

/var has all the application data

slate sonnet
#

Got it

tame carbon
#

but the best solution for running applications that you can move between servers is still containers

slate sonnet
#

Ooooh, so containers are quite literally containers?

#

"Folders" that all the app data is stored into and stuff?

#

Okay, I got it

#

Just googled it

#

That makes it more interesting

waxen scroll
#

@tame carbon i had the same issue as linus. I didn't buy into MyQ because of the fee. Then my garage door opener broke and if I wanted chamberlain all I could do was buy smart openers.

#

Turns out its free using home assistant anyway

tame carbon
#

@waxen scroll I'm just generally against this move to poorly secured smart home devices

#

with no common software or open framework

#

that could be used to patch or maintain far into the future

#

Smart home should be like a kitchen table top

#

last as long as the house lasts.

waxen scroll
#

yeaaaahhhh

tame carbon
#

at least with industrial use-cases of smart appliances

#

its all with PLCs

#

wires and shit

#

you can open a manual

#

and fix it

waxen scroll
#

when/if i move i'm removing all the smart devices. I kept the dummy ones I replaced

tame carbon
#

@waxen scroll currently its just better DIYing this

#

because in you DIYing this, you learn how it works

#

and this means, you can fix it if it breaks

#

this would be the same for other smart home appliances

#

if only we had source code and tools to build firmware packages

waxen scroll
#

i hate how inflexible things are too

#

thats why i like HA

#

extremely complex logic can be done

#

like linus said, i have many unrelated devices controlling eachother and it works great

#

the status of manufacturer A and B can stop an automation from triggering on C

#

it sucks that its come to that but ehh

#

products like zwave came close but the reliability is not there if you get any device that malfunctions

tame carbon
#

@waxen scroll I use NRF24L here

#

modules are cheaper

sturdy ledge
#

any idea how i can fix this? i have internet access in all my apps but windows says no internet access

ebon stump
#

anyone here run pfsense? ๐Ÿค”

sonic notch
#

Is there any way I can use my Windows 10 PC to connect to 2 networks on my Unifi simultaneously?

waxen scroll
#

nope. I run ASR9912 tho

sonic notch
peak cloak
#

can you not access the other network?

sonic notch
#

Why I need both networks?

peak cloak
#

yes

sonic notch
#

I want them mostly separate

#

One is for IoT

peak cloak
#

firewall exists

#

but what you want are vlans

sonic notch
#

I believe I have 2 VLANs setup in Unifi already

#

I just need my PC to connect to both at once

tender hazel
#

running windows there is no easy way to get a PC to connect to both VLANs at once

crystal shale
#

Isnt it possible to connect to one over wifi and one over ethernet? Thats the super silly way for sure xD

tender hazel
#

unless you have a network card that allows VLAN configuration

#

realtek for instance makes a specific tool that allows you to configure VLANs for their cards on windows

#

intel does too but I found it doesn't work on all of their cards

crystal shale
tender hazel
#

ideally you would want to avoid having to buy a second network card to solve that issue

#

I mean obviously yes you could but it probably isn't the ideal solution for most people

crystal shale
#

Yeah, true but it would work i guess..

sonic notch
tender hazel
#

yes

#

there is a special realtek tool you have to download

sonic notch
peak cloak
#

no vlans

#

I mean technically you can

#

but like I doubt it supports it

crystal shale
tender hazel
#

@sonic notch I think what you need to use is this "realtek diagnostic program" in the list

crystal shale
#

But you have that ethernet adapter either ways

crystal shale
# peak cloak even worse

If he has ethernet and wifi(any sort) then he can just connect to the wifi and plug in an ethernet cable from the ither network and done, tho it still aint optimal (this is the super silly way)

tender hazel
#

I'm pretty sure the realtek tool works with all of the realtek cards, so the fact that he has realtek means it should probably work with any card

crystal shale
peak cloak
#

but on linux

#

great

crystal shale
#

Here atleast i think

peak cloak
#

or

#

just connect to one

#

and have access to the other though firewall rules

#

@sonic notch

crystal shale
peak cloak
#

yes ik

#

that's what I do

#

I have one network that I am connected to

#

and I whitelist my mac

tender hazel
#

but I agree in most cases you don't really need to have a computer connected to two vlans at once

peak cloak
#

yeah

#

I do on my proxmox and pi

tender hazel
#

I suspect that perhaps there are devices involved that won't work outside of the VLAN they are on

#

for instance my dad has this TV tuner box and it will only allow connections from the local subnet

#

if you are on a different subnet from it you can't connect to it

#

and you can't change that through the settings

crystal shale
#

Btw, ya all are (atleast PresentMonkey, since ive sawn him multiple times now) some sort of pro in networking right? I might have an another question here..

tender hazel
#

@sonic notch great

sonic notch
crystal shale
#

Okay hear me out, i wanna host an website(on one of my pcs). There is a catch tho..

crystal shale
#

My plan is to use an i386 processor..

#

Aka Windows98 because nothing else works on those things

peak cloak
#

linux...

crystal shale
#

Nope

peak cloak
#

it does

crystal shale
#

Wont boot

peak cloak
#

I did it before

#

it's just not as plug and play

tender hazel
#

it will have to be a 32-bit version

peak cloak
#

^

crystal shale
#

Yeah no really?

tender hazel
#

so you may have to go with something a lot older as a result

crystal shale
#

I tryed an debian like version 5 or something

#

Nothing

#

It just would be easyer to use win98

#

Atleast on the os side

peak cloak
#

imo no

crystal shale
#

Because its.. uh.. a 400mhz celeron p2

peak cloak
#

because cli > gui

#

and linux > windows

crystal shale
#

So.. pentium 2 architecture

crystal shale
peak cloak
#

I think your problem is just your bootloader

tawny flint
#

Hey so I was wondering if normal Ethernet cable or outdoor for attic also when it get summer it become toast in Australia?

crystal shale
peak cloak
#

no

crystal shale
#

Or is there some sort of tool that allows multitasking

peak cloak
#

you can have multiple sessions

crystal shale
#

And how?

peak cloak
#

open a new windows

#

run processes as a service

#

^ that's the best way

crystal shale
#

On the cli?

peak cloak
#

yes

#

well it's linux

#

you make system service

#

and on distros that have systemd you just do

crystal shale
#

How am i opening a window, on the cli?

peak cloak
#

well you don't

#

you can use screen but why

#

best thing is just use services

#

then you just do systemctl start nginx for example

#

systemctl stop nginx

#

systemctl status nginx

tender hazel
#

400mhz celeron, you probably would almost get better performance from a raspberry pi

peak cloak
#

journalctl -u nginx -f

#

ez

crystal shale
#

I am not a fan of gui

peak cloak
#

for webserver you don't need gui

#

nginx is installed as a service

crystal shale
#

But fir multitasking gui is just better

peak cloak
#

yes

#

servers don't need windows

crystal shale
peak cloak
#

yes

#

not visual multitasking

#

right?

crystal shale
#

No, i need visual multitasking

#

I need to see and access what every process is doing-

peak cloak
#

bruh

crystal shale
#

Or well, the processes that i started

peak cloak
#

what do you want to run?

crystal shale
#

Uhm. Webserver with live stats, ngrok for portforwarding, an TS3 Server and uh.. from times to times an super simplistic minecraft server

#

Oh an ftp server too.

peak cloak
#

that's a lot

crystal shale
#

Yes.

peak cloak
#

do you not have a public IP?

crystal shale
#

No?

peak cloak
#

like if you go into the router, what IP do you get

#

under WAN IP

#

the first 2 octets

crystal shale
#

You mean like 192.168 the intern stuff? Or extern?

peak cloak
#

WAN

#

so external

crystal shale
#

We cant do portforwarding

#

With my internet plan

#

It would cost money-

peak cloak
#

so you are cgnated?

crystal shale
#

I have no idea what that is, but i guess yes? Idk?

peak cloak
crystal shale
#

Oh, uh that number looks familiar

#

Between the customer and the cgnat

tender hazel
#

100.64 is the normal cgnat range

peak cloak
#

Idk how ngork works, there is no way it gives you a public v4 to yourself. You will need to use non standard ports I think

tender hazel
#

if you are on CGNAT your WAN IP should start with that

peak cloak
#

But on some isps it's another private range

#

They shouldn't do that but they do..

tender hazel
#

that's usually the case with ISPs that don't know what they are doing

crystal shale
tender hazel
crystal shale
#

And that for free, but you have different ips again and again, thats why i need live access to it

peak cloak
#

Yeah so you need to use non standard ports

tender hazel
#

oh, ngrok

peak cloak
#

Why ftp?

peak cloak
#

I never used it

crystal shale
zealous dust
#

so it seems like this place is right... i just had 18 ip addresses added to my router and now the whole network is borked, everything says its not got internet but does in a browser yet can not connect to git or any thing through a terminal on linux... pls halp

peak cloak
#

Ftp is notoriously I secure

peak cloak
zealous dust
#

yeah

peak cloak
#

Oh you need to setup routing

#

Idk if your normal router can do that

zealous dust
#

ehhhh

peak cloak
#

Ideally you would still want to nat your normal lan devices

zealous dust
peak cloak
#

Ah

#

Homelab

zealous dust
#

almost everything is virtualized

peak cloak
#

What router?

zealous dust
#

yeah :/

peak cloak
#

Pfsense?

#

Vyos?

zealous dust
#

some dumb ass netgear thing

#

i think its unmanaged

peak cloak
#

Oh then idk

#

Unmanaged router?

#

Wut

zealous dust
#

ohhhh

peak cloak
#

Makes no sense

zealous dust
#

the router

#

my bad

#

its a bgw210-700

peak cloak
#

Cisco?

zealous dust
#

i think its arris

#

its through at&t

tawny flint
#

So questions

peak cloak
#

Ah I'm on my phone

zealous dust
#

yeah thats one

peak cloak
#

That little router for that whole setup

tender hazel
#

if you're running a homelab like that you probably want a better router than the ISP provided Arris

peak cloak
#

Yeah I don't think that will do it

zealous dust
#

yep :/

#

it was doing it till i added more ip's

peak cloak
#

Let use introduce you to

crystal shale
peak cloak
#

Microtik

zealous dust
#

i ran out of ports and thought more ips would help

tender hazel
#

yeah mikrotik

peak cloak
#

But maybe it could

#

Idk

crystal shale
tender hazel
#

openwrt won't help here because that device probably can't be flashed with anything else

elfin plank
#

is it worth to upgrade your modem when you only have 9ms of ping to servers?

tawny flint
#

Attic Normal or outdoor Ethernet
Also Australia get too hot and the attic become over 40c degrees
Basically CCTV stuff and should I get a unmanaged 12-16 port switch?

peak cloak
crystal shale
peak cloak
#

Yeah but the router needs to be supported

tender hazel
#

when you use something like dd-wrt or openwrt it has to specifically support that device, or it won't work

elfin plank
crystal shale
#

I did that to my DLink-615 quite powerful now again

peak cloak
#

Someone else needs to reverse engineer it

tender hazel
#

you'll just end up bricking it if it isn't compatible

peak cloak
#

Also router != Wifi

tender hazel
#

and most people wouldn't even care about making an arris modem compatible with something like openwrt

elfin plank
#

next best place is the kitchen then

crystal shale
peak cloak
#

At this point you want to get a router that will last you

tawny flint
tender hazel
#

@crystal shale no

peak cloak
#

@zealous dust you could setup a vyos router for internet if you have a spare machine

elfin plank
#

hmmmm well under the floor is another one

#

or in the wall

crystal shale
#

And people love putting their own stuff on devices lol xD

peak cloak
#

Pretty hard for closed source things

crystal shale
tender hazel
#

I never said it wasn't impossible, but it is just that most people would not want to go through the effort to do that

tawny flint
# elfin plank or in the wall

Ok so like normal Ethernet cable or the outdoor one that has like waterproof and uv and I'm pretty sure it thicc cable also I don't know if they rat or mouse in the attic but I know sometime roof leak when it heavy af rain normal like 200M $60 then the outdoor is like 100M $100+

tender hazel
#

when you can buy an off the shelf device that you can flash with openwrt pretty cheap

#

why would you try to reverse engineer some cable or DSL modem

crystal shale
tender hazel
#

look it up if you want, I doubt you'll find anything

peak cloak
#

Its not worth it to reverse engineer a box like this

crystal shale
#

Ofc it might be "open"

#

But still, you would need to trough all the trouble.

crystal shale
tender hazel
#

everything in a dlink615 is already supported by open source drivers

elfin plank
tender hazel
#

you don't have to reverse engineer stuff and try to make your own drivers

elfin plank
#

and i live in a two storey

#

so it has to go both up and forward

tender hazel
#

with something like a dlink 615 you just take a linux kernel and install the drivers that other people have already written for every single chip in the thing

elfin plank
#

yes we have two networks, and yes we have two providers in this house coz we have seperate systems

crystal shale
tender hazel
#

there are

#

you have to realize that for all of these home router vendors, they use chips that are used by all of the other home router vendors and have standardized drivers available

crystal shale
tawny flint
tender hazel
#

you don't really have to reverse engineer anything for openwrt or ddwrt on a home router, except figuring out how to load the firmware in the first place

tawny flint
crystal shale
tender hazel
#

yes, it is very different

crystal shale
#

How? You just said that drivers are aviable

tender hazel
#

that's a DSL modem using a custom chip

#

you won't find open source drivers for that

elfin plank
#

i dont really deal with cables

#

coz well

#

wifi 6 is a thing

crystal shale
tender hazel
#

whenever you have something that has DOCSIS cable support or DSL, they use custom chips that are different from your average off the shelf router

tawny flint
#

I seee

peak cloak
#

No wifi issues

#

Everything is wired now in the house

crystal shale
peak cloak
#

How custom

#

That's the question

#

Based on an existing chip?

crystal shale
elfin plank
#

but im like 8 metres away

peak cloak
#

Os != Hardware similarities/differences

crystal shale
#

But could i theoretically put my website onto my dlink which runs open wrt?

#

I mean it is linux, right?

peak cloak
#

How complex is the website?

#

Routers don't tend to have much memory

#

But technically it can be possible

#

Like is it static

#

Is there a backend

#

Is it server side rendered

crystal shale
peak cloak
#

So just basic static website

crystal shale
#

Static?

#

Well, no new data gets added automatically, yeah

#

But it has multiple sites ofc.

peak cloak
#

That's what static means

#

The server doesn't need to do any processing really

crystal shale
#

Uh yeah i guess

peak cloak
#

There also sever side rendered sites

#

And sites that are rendered on the clients end, like react or vue

#

But those are also technically static

crystal shale
#

I just have those basic htm files which would need to be displayed on the browser..

peak cloak
#

Since all the server does is send the js files

crystal shale
#

So.. Basically send htm to browser and let browser open it

#

That what it needs to do

peak cloak
#

Yeah static site, really ez to do

crystal shale
#

Hm.. i mean.. i could also use my rpi.. which would be 5billion times better...

peak cloak
#

Also

#

I found out the name of the multiwindow terminal

#

Tmux

crystal shale
#

Huh

peak cloak
#

Allows multiple sessions

crystal shale
#

Ye something like that would be neat.. no 5 ssh sessions anymore..

peak cloak
#

You can also use screen

peak cloak
#

If you use it correctly that is

crystal shale
#

My rpi overloaded because of that so often..

#

Like, hey lets type something into this session!

peak cloak
#

If you have something running in bash, if you close ssh it will exit as well

peak cloak
#

Idk what weird thing you are doing

crystal shale
#

I was like, lets run my script!

#

It ran

#

I checked in an another session htop

#

And uhm...

#

Yeah.. noticed the load increasing, near 100%
So i wanted to stop the command but the connection died .. and the command still ran..
So i wasnt able to connect back to it

peak cloak
#

I gtg

crystal shale
#

Okay

#

I mean its 5 am for me anyways xD

tame carbon
#

@crystal shale if you hang up on an ssh session, the program you were running gets terminated with a HUP signal (hangup).
You can use a terminal multiplexer like tmux or screen to leave a session running in detached mode

#

programs running within say, tmux, will keep running even if you terminate the ssh session

#

you can reconnect to it by doing tmux attach <session>

#

I use this for minecraft servers and such

thick minnow
#

this is going to be fun

tame carbon
#

Garbage

#

3.6gbit/s for that price?

peak cloak
#

Yeah

#

Already told them

tame carbon
#

2.4 /w firewall

#

LOL

#

And only gigabit? xD

thick minnow
#

im getting it for the security features mainly and eays of use

tame carbon
#

@thick minnow heh?

#

my RB4011 costs half that

#

and can do 2gbit/s VPN

#

and route @ 10gbit/s

#

with 25 firewall rules

thick minnow
#

i only have 1gb down and 80mb up

tame carbon
#

how much power does this thing even consume

#

12V 3.33A

#

40 watts?!

#

are they insane

clear igloo
#

Probably far less than an old computer most people throw pfsense on

tame carbon
#
#

@thick minnow stomps on whatever else exists in that market segment ^

#

and uses only 18 watts while doing so

clear igloo
#

You do realize all that is max wattage right? It pulls 5 watts idle and probably 15 watts under normal load

tame carbon
#

@clear igloo Yes.

#

that SG-3100 however, has far higher ratings

clear igloo
#

I've seen people on the LTT forums throwing pfsense on FX CPUs ๐Ÿ˜›

tame carbon
#

crime against nature

peak cloak
#

It's just... Pfsense

tame carbon
#

@peak cloak at least its no asus

peak cloak
#

Not super great I heard

tame carbon
#

@clear igloo I guess pfsense is nice if you just have an old PC lying around and you need something with slightly more advanced configs

#

but as a permanent router, I'd use something that is specialized

tame carbon
#

saves on power bill

#

and probably is more reliable

#

than that old compaq you frankenstein'd

clear igloo
#

Although if you need throughput I'd go TNSR over pfsense if I had to chose

tame carbon
#

@clear igloo did you see that article that was posted the other day, with those CRS317's ?

tame carbon
#

RouterOS v7 has hardware offloading for routing

#

and you can use this $399 switch

#

to do full 10G routing

clear igloo
#

Nice!

tame carbon
#

The initial results are very promising. Getting close to 10G sustained L3 throughput using an ASIC on a device that lists for $399 USD is unheard of.

#

@clear igloo if they release this for their other devices, soon, I might be able to just do this on a CRS305 :D

#

it has same series of switching chips

#

$120 4x 10G

clear igloo
#

Now if only I had 100Gbps internet to use this kind of performance LUL

#

Yah, 10Gbps routing under $400 is amazing though but at $120 that's epic

tame carbon
#

@clear igloo currently this only works for the CRS317

#

but it has same kind of marvel 98DX**** chips

clear igloo
tame carbon
#

its just the variant in the CRS317 that has more memory

clear igloo
#

ah

tame carbon
#

@clear igloo but its pretty neat seeing mikrotik join the 21st century

clear igloo
#

haha, yah

tame carbon
#

might actually make them competative again

clear igloo
#

competition good ๐Ÿ™‚

tame carbon
#

until a week ago, I didnt even know those edge routers from juniper used routing tables in the switching logic

clear igloo
#

yah

hollow marlin
tame carbon
#

@hollow marlin lets make our own router, with an FPGA and a bag of weed

hollow marlin
#

New Cisco chips can do even more in hardware

clear igloo
#

The silicon one stuff?

tame carbon
#

@hollow marlin pretty cool though, if you look at the security aspect of JunOS

clear igloo
#

Still waiting to get my hands on those soontm

tame carbon
#

the forwarding plane (the danger zone) cannot access the routing engine

#

@hollow marlin would it surprise you if you find Cogent deploying a bunch of switches soon? instead of routers? xD

clear igloo
#

@hollow marlin You seen the new q200 and G100 stuff?

hollow marlin
clear igloo
#

Yah, NAT is a big hit for most switching stuff

hollow marlin
clear igloo
#

there was a new 14Tbps routing chip announced I thought recently

hollow marlin
#

Hot damn. If I remember they are focusing on API too grab the whitebox market also too right?

clear igloo
#

yah

hollow marlin
clear igloo
tame carbon
#

@hollow marlin do you think there's a market, for a common network configuration language, that you could compile and then deploy on a wide range of vendors and hardware?

#

idk if something exists

clear igloo
#

There definitely is

hollow marlin
#

Yep thats the goal

clear igloo
#

Sonic is a big one

hollow marlin
#

Whitebox is a growing market, while I prefer dedicated equipment, Cisco made a smart move opening it up

clear igloo
#

There's another one, not SoNIC that I can't think of, beings with an A though, not Apstra

#

Dent is another one

tame carbon
#

@clear igloo was just thinking, if I would be crazy enough to even try to make something like that xD

hollow marlin
tame carbon
#

I've got the coding skills to do it

#

just not the knowledge of network engineering to make it

#

@hollow marlin thanks. I'll skim through all 138 pages

clear igloo
#

ArcOS that's what it is! (arrcus makes it)

hollow marlin
tame carbon
#

@hollow marlin what is an LU?

hollow marlin
#

In what context? Routes?

tame carbon
#

In these diagrams, they talk about routing to and from an LU

hollow marlin
#

Let me check again. As a heads up I got maybe a 1/4 the way through before my eyes crossed with many of the terms.

tame carbon
#

xD

clear igloo
#

lookup unit

hollow marlin
#

^

#

When it gets down to HW, its a whole different world

tame carbon
#

@hollow marlin so strange lol. Telus delivering 1.5G service

#

to consumers

#

with only 1G gear

waxen saddle
#

Lol. Full 7z compression on each packet? ๐Ÿ˜›

hollow marlin
#

Mostly for utilizing the LAN ports on the ONT

#

RIP if you want 1.5 with your own router though

tame carbon
#

@hollow marlin yeah, so I suggested he'd get himself a switch with some 10G gear

#

but he doesnt want to replace the ISP router...

#

wouldn't be a problem... except.. it is because VLANs

#

his ONT would be on one of those 10G ports on the switch, and that would only work if they can use VLANs to setup a router-on-a-stick config

hollow marlin
#

As long as they allow 3rd part ONTs/routers. Many Telco gear uses MAC for ONT configuration and sometimes at the port level which mean its not possible to use your own equipment. It does seem like more are willing to hand out the VLAN information

tame carbon
#

@hollow marlin I am also unsure about the PON modules

#

idk if mikrotik can even use those properly.

#

@hollow marlin telus sells their "Home HUB"

#

which has SFP+ in the back

#

and Rouing said that telus just uses DHCP over a VLAN

#

but the module is nonsymetric

#

its a 2.5G down and 1.25G upstream module

hollow marlin
#

GPON optics handle the negotiations for timeslots. The Mikrotik GPON SFP should work no problem

graceful merlin
#

hey what is mesh system in routers?

peak cloak
#

In home wifi solutions you mean?

peak cloak
#

Its a wireless backhaul basically

tame carbon
#

@graceful merlin its a janky solution to people's problems

#

its when you dont want to run cables.

#

You use an unused wireless frequency to connect two wireless access points together

graceful merlin
#

i thought it's something else

tame carbon
#

superior solution is to just use a 2nd access point and connect by wire

tame carbon
#

you use multiple access points connected to the wired network

#

you use multiple radios broadcasting the same network, but on different channels

#

and you put these around the house

#

meshing, would use one of those channels, instead of a cable.

graceful merlin
#

should i use lan cable all around from my walls?

tame carbon
#

@graceful merlin yeah having an accesspoint for each area, is best way to get a fast and reliable network

#

but also depends on local noise

#

2.4GHz only has 3 channels that don't overlap eachother

#

so its very noisy usually with neighbors and such

graceful merlin
#

but i dont need these mesh system , my devices can connect to one router

#

and my router and devices have mu mimo

tame carbon
#

that's for ac wireless yeah

#

802.11ax

#

only brand that I know of that has such a controlled wireless system for WiFi 6 is Unifi

#

mikrotik is still limited to Wifi5 right now

graceful merlin
#

i just use 3-5 devices and a pc with lan cable

#

so , i dont need these ๐Ÿ˜„

graceful merlin
tame carbon
#

Look at the topic.

#

@graceful merlin unifi and mikrotik are brands lol

#
graceful merlin
#

ok, so if i have router connect to other routers for each room and use a router for each device , right?

tame carbon
#

@graceful merlin I think you are misunderstanding. a router routes. We're talking about wireless access points.

#

You normally only have 1 router on a home network

peak cloak
#

Router does not mean wifi

tame carbon
#

Its common mistake, and you can thank mainstream marketing for that

#

Quite a lot of home routers have wifi onboard

#

Thats why the mistake is made

#

This is what an access point is

#

either in a corner under the couch

#

or on the wall or ceiling (pref)

#

cheap too, $60

graceful merlin
#

should i do some ooga booga things for this lol

tame carbon
#

@graceful merlin first time in this channel? :P

graceful merlin
#

yup

tame carbon
#

if you have questions for things like building a home network if you have fiber optics.
or other kinds of network issues, you can ask us here ^^

#

we got people here that work with ISP systems every day

#

ISP = Internet Service Provider

#

the average home wifi router is frowned upon here xD

#

they usually lack lot of features

#

@peak cloak did you actually end up buying that hex S ?

graceful merlin
#

can i use a router as an access point? @tame carbon

tame carbon
#

@graceful merlin if you want to use a regular home wifi router as just an access point, you must do a few configurations on it

graceful merlin
#

oh

tame carbon
#

You have to disable the DHCP server on it. and make sure that it has an IP on the same network as your main router

#

you then connect it using one of its LAN ports

#

instead of WAN

#

this way it just acts as a switch basically

#

with a wireless radio

graceful merlin
#

Hmmmm

tame carbon
#

you just have 1 router that controls them all remotely

#

more seamless configuration

#

but if you have a spare wireless router lying around, you could use it

waxen saddle
#

Uh. Mikrotik is not user friendly.

granite trench
#

Guys does anyone have experience with Untangle and if so what is your thoughts?
Edit: looking into it as a firewall implementation for the company I work for. I did look at Sophos and Fortigate but I am looking for a solution whom's VPN works well.

hollow marlin
thick minnow
#

Hey so does anyone know how to mask a VPN from site that one visits? I am using wireguard set up on an azure instance

peak cloak
thick minnow
# tender hazel What?

Some sites are able to detect that I use a VPN, I want to make those sites think that I am not using a VPN

peak cloak
#

you need to use a vps provider that isn't known

#

because you need a different ip

thick minnow
peak cloak
#

so basically the same as using a vpn on a vpn

tender hazel
#

that only gives 5 gigs of usage of course

thick minnow
tender hazel
#

40G of usage is $480 a month

#

I think it is too expensive

#

I'm not recommending it b/c of the cost - I wouldn't pay that

tender hazel
#

if you are like super rich and have money to burn you can do this

#

for most people the practical answer is no

tender hazel
thick minnow
#

Thank you

slender shale
#

Anyone have any experience with HDBaseT / HDMI over Eth?

#

Kitting out the new house and since Iโ€™m running Cat7 throughout I thought itโ€™d be lower latency for game streaming than a steam link/nvidia shield solution

tame carbon
#

ethernet is best effort

#

@slender shale you can get active hdmi cables that use fiber optics

lean pebble
#

Squid proxy server can mask your IP and netflix would work perfectly with it.
I used it for a long time for testing things and it worked perfectly with it.

tender hazel
#

if he runs it on his existing VPN server, it won't change the IP for the VPN server and therefore if it is already detected as a VPN it will still be detected as a VPN

#

he would need to get a VPS somewhere else to run squid on, and if he is going to do that he might as well VPN into that and not bother with squid

outer nebula
#

Hi everyone so i've been trying to work on this small project/challenge. I've been getting stuck on it and overwhelmed multiple times. Im very new with Ansible plus little to no knowledge of programming and so it leads to doubts and questions how i should proceed with the installation and configuration of Wordpress and MySQL database in each VMs. I was wondering if anyone could give me an advice/help with it.

acoustic horizon
#

there are multiple ansible galaxy modules that do these things. there might even be one that sets its all up for you in one go

#

@outer nebula are you trying to get into devops by any chance?

flint venture
#

This seems good

formal harness
#

any thoughts on m2 wifi6 adapter selection ... any know good or problem cards?

vestal surge
#

what are people's thoughts on aruba instantOn? I'm a bit frustrated with Unifi's direction and have concerns about TP-Link Omada...

dark hemlock
#

Hi community. Does anyone have any tips for improving internet connection and stability? Iโ€™m currently connected via Ethernet, with 50 Mbps download (Australian internet sucks). Iโ€™m considering changing ISPโ€™s, but thinking if it would be worth getting a different router as I know the ones provided by ISPโ€™s arenโ€™t always the best.

vestal surge
#

what do you think is wrong with your current connection?

silent zenith
#

Hello
So my router has USB inputs, and so, recently I connected a HDD laying around to it so that I get a local server in my network, however, I'm getting 1MB/s at max for transfer speed, what can I do?
The network setup:
My PC ==> Mesh System ==> Router ==> Hard Drive connected to router

dark hemlock
#

Iโ€™m with belong, and have fttn. The router is โ€œBelong 4353 modemโ€

#

I get the expected speeds, however have disconnection/stability issues almost every day. Even when connected with Ethernet

vestal surge
#

ahh yeah probs your isp I guess

#

superloop and aussiebroadband are the generally recommended ones on Whirlpool

#

unfortunately that belong piece of~~ #@%!~~ kit seems to be locked down

dark hemlock
#

I did read that someone got a net gear router to work with belong nbn by selecting telstra as the network in the router settings

vestal surge
#

i guess if you could flash generic firmware for it?

dark hemlock
#

Iโ€™ll research it some more and probably try a different router before switching ISPโ€™s

vestal surge
dark hemlock
#

My download will be limited to about 74Mbps due to fttn, so I probably wonโ€™t upgrade speed

#

Thanks

vestal surge
#

I think the problem is your ISP as opposed to your hardware.

#

have you dug around in that modem/router combo's settings?

dark hemlock
#

Yeah, but not sure about all the settings. Need to do a lot of research

vestal surge
#

change the dns to 1.1.1.1 or 9.9.9.9 if you've not already

#

not sure that will do anything though - the modem/router if connected via ethernet should route at linespeed

dark hemlock
#

It generally does, the stability is the problem

vestal surge
#

yeah so thats ISP

#

or how the signal gets to your modem from the node

dark hemlock
#

I was thinking itโ€™s likely the fttn

vestal surge
#

probs

dark hemlock
#

A friend of mine has Nbn50 with fttp (Optus) and they donโ€™t have an my issues

vestal surge
#

ultimately belong is telstra so general incompetence and poor service is hardly surprising

dark hemlock
#

Thanks for the suggestions

vestal surge
#

if you're set on upgrading hardware i'd buy a new gateway/router from one of the SOHO/enterprise hardware providers and put your belong/sagemcom 4353 into bridge mode (see the whirlpool link)

#

you'll need to keep the modem or upgrade to something like a fritzbox; but honestly I don't think that will improve stability ๐Ÿ˜ฆ

thick minnow
#

If a ethernet cable is really long as in scaling from one room to another is the internet speed effected

fading geode
#

0.0

thick minnow
fading geode
#

let me google it for you tearful

#

no it won't buddy

thick minnow
#

Let's goo

tame carbon
#

wat

desert briar
#

Hey,
I have a virtual NATed environment with PfSense in my vSphere7 lab. PfSense has 2 uplinks, WAN and LAN. WAN is just an uplink to my local network, LAN is just based off of a virtual NIC in vSphere. When it comes to the LAN, it's on a virtual distributed switch, which is assigned to my 2 ESXi hosts (with proper uplinks and all).

I am however encountering a problem where if the PfSense machine (the gateway) is on another host than my other machines (e.g. a test DNS server), the machines which don't share the host with PfSense have no internet connection and can't even ping it. Any idea why?

thick minnow
flint venture
#

why not

tame carbon
#

@flint venture buying a router without wifi is even easier

#

and this RF-scare is just a bad meme at this point

limpid lion
#

Got my hapac3 today

tame carbon
#

@limpid lion ahhhh nice :D

#

You're one of the very few with an ac3

#

they are hard to come by right now

limpid lion
tame carbon
#

I have the 'ol hAP ac2 over here

#

but its pr much same hardware

#

@limpid lion need any pointers to configuring it?

limpid lion
#

Yeah

#

Have a question

#

Trying to add some static IP addresses to my devics. Is it done on IP > DHCP Server > and clicking make static?

#

and then just changing the address it got by DHCP to the one I want

tame carbon
#

@limpid lion IP -> DHCP Server -> Leases

limpid lion
#

Yeah

tame carbon
#

@limpid lion click on the lease of the device that you want to make fixed.

#

double click it

#

and then click on the button "Make Static"

limpid lion
#

Done that

tame carbon
#

You can then modify it

limpid lion
#

"Expires after" still counting down

#

normal?

tame carbon
#

@limpid lion you can enable/disable the interface, to force the device to renew

#

or just wait till it counts down

#

the device just has to renew its lease

#

before it updates

limpid lion
#

Ah

#

gotcha

#

makes sense

tame carbon
#

lease times by default I think are 20 mins

#

on mtik

limpid lion
#

Great

tame carbon
#

@limpid lion btw, did you upgrade to latest version ?

#

first thing I always do on my devices

limpid lion
#

Ill poke around a bit, Im sure I will have to come back and ask some more questions at some point lol

#

Yeah I did

tame carbon
#

@limpid lion did you upgrade firmware as well?

#

those are seperate

limpid lion
#

That I did not

tame carbon
#

System -> Routerboard

#

and then upgrade

#

firmware upgrades are supplied by OS update, but are applied manually

limpid lion
#

Gotcha

#

There are so many options

#

love it

tame carbon
#

@limpid lion I take it you did the initial config with quickset ?

limpid lion
#

coming from some random asus router

#

Yeah

tame carbon
#

ok

#

Don't use quickset again.

limpid lion
#

Only had it up and running for 30 mins

#

Whats wrong with quickset

tame carbon
#

If you use it after you made changes, itll break your setup

limpid lion
#

oh

tame carbon
#

Its ment for those who don't need advanced configs

#

or as initial config

limpid lion
#

Okay, but its fine if I used it during the initial setup and not after that?

tame carbon
#

That's cool

limpid lion
#

perfect

tame carbon
#

@limpid lion if you for example modified the LAN subnet

#

itll break all your DHCP settings and such

limpid lion
#

clicking "upgrade" and I got promted to upgrade, clicked yes and there is no progress shown

tame carbon
#

It just does it instantly

#

and then asks for reboot

limpid lion
#

no promt besides that one

tame carbon
#

@limpid lion go back to the login screen of your router.

#

and click on "Winbox"

#

browser config tool is a bit limited

limpid lion
#

Yeah

#

I can see the red text on winbox

#

๐Ÿ‘

tame carbon
#

@limpid lion winbox can also connect to the device by MAC-address

#

useful if you borked the IP settings and locked yourself out

#

and winbox runs perfectly fine under WINE (on linux and macOS)

limpid lion
#

cool

#

Upgraded ๐Ÿ‘

tame carbon
#

@limpid lion I think as a home user, another important thing to know is how to port forward.

#

Go to IP -> Firewall

#

and then select NAT

limpid lion
#

Yeah

tame carbon
#

@limpid lion with firewall, and NAT, the ordering of the rules is important, so don't move items around

#

under NAT, you create a new rule

#

you put your WAN IP in there

#

DST-NAT is port forwarding

limpid lion
#

Yeah so it forward 25565 to x.x.1.12?

tame carbon
#

That's the action

#

So here, you point to your local IP

limpid lion
#

oh

tame carbon
#

@limpid lion DST-NAT translates from your public IP to some local IP

#

There should already be a NAT rule in there

#

with srcnat

limpid lion
#

Yeah there is

tame carbon
#

thats for outgoing traffic.

#

So all your local IPs when talking to a server on the internet, get NAT'ed

#

so it appears as though it comes from your router

limpid lion
#

Yeah

tame carbon
#

that's source-nat

#

port forwarding is destination-nat

limpid lion
#

so putting my WAN ip where the red arrow is

#

what if I have a dynamic one

tame carbon
#

then you have to use interface-lists

#

@limpid lion if you go to Interface -> Interface List

#

there's two lists configured, LAN and WAN

#

Those are default

#

You have a set of lists, and then interfaces that are part of that list

#

interface lists are used by the firewall

#

but you can also use them in NAT configurations

#

@limpid lion your bridge should be LAN, and all interfaces associated with that bridge, are also part of that interface-list LAN

#

You can look at port assignment, under Bridge -> Ports

#

By default, ether1 is WAN, and all the other interfaces are LAN

#

I know its a bit confusing at first, but it makes a lot of sense when you use it

limpid lion
#

Alright

#

Yeah its a lot to take in

#

lots to learn still

tame carbon
#

@limpid lion benefit: once you know how to do this on the ac3, you can apply the same knowledge to all other mtiks

limpid lion
#

Ill just mess around for a bit and see how it goes

#

just gotta learn

#

@tame carbon If I run a bunch of services on for example a truenas server would you say its better to give them DHCP and then manage the static IP from the mikrotik or should I assign them a static IP when creating the service?

tame carbon
#

use DHCP leases.

#

Just make them static

#

I wouldnt manually configure such things

#

@limpid lion my virtual machines sit on another VLAN, and ask for their public IP with DHCP

limpid lion
#

aight

thick minnow
#

@tame carbon, did you save all this pics for reference?

#

or is this a now thing

vestal surge
#

I love looking at mikrotik

#

It looks so utilitarian in the best way

tame carbon
#

@thick minnow I just whipped that up real quick :P

thick minnow
#

haha nice

tame carbon
#

shareX ftw

thick minnow
#

It would take me like 15 mins for me to do that for each individual pic

tame carbon
#

Its just a shortcut

thick minnow
#

I meant like the arrows and stuff

tame carbon
#

that's ShareX too

#

image editor

thick minnow
#

Ah nice

tame carbon
#

Useful if you want to point at things and such

#

@vestal surge it is utilitarian lol

#

thats their whole company motto

#

giving you hardware without artificial limitations in software

limpid lion
#

Trying to add my pihole as my DNS server. went and unticked peer DNS and put my DNS IP in under DNS settings but its not changing.

tame carbon
#

@limpid lion you'll probably want to keep that the same.

vestal surge
tame carbon
#

And set your DHCP Server to use another DNS server

vestal surge
#

But not with WFH

tame carbon
#

@limpid lion Mikrotik shouldnt be using the pihole itself.

limpid lion
#

I see

tame carbon
#

@limpid lion you can provide the tik with 1.1.1.1 as primary, and let it keep the dynamic servers from the ISP

#

as backup

limpid lion
#

like this?

tame carbon
#

yeah

#

@limpid lion in your DHCP server settings, go to Networks

#

you can have multiple entries

#

but here you provide the DNS server that will be handed out to clients

limpid lion
#

I see

#

yeah this makes sense

tame carbon
#

@limpid lion if you set the tik to use your pihole as DNS, you get into all kinds of shennanigans when your pihole is down.

#

@limpid lion what you can do, is set the upstream DNS server on the pihole, to be your mikrotik

#

this way you can still make use of the static DNS feature of routerOS

#

but pihole probably also has support for static DNS.

#

I mostly use static dns for like my laptop, desktop and server

#

so I can use watomat as shorthand, for my laptop xD

#

thats the name of my PC :P

limpid lion
#

Just put the DNS server in my DCHP

#

works fine

#

thanks

#

Everything I want to try and figure out is like a little adventure

#

lol

#

unlike my last router "DNS server 1 DNS Server 2". Simple but limited ^^

#

Wish I was half as knowledgeable as you were

peak cloak
#

you learn over time

#

the amount of times I made the internet go out

#

at home

limpid lion
#

_<

tame carbon
#

@limpid lion 3 years ago, I was where you were at now