Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - derril

#1
23.7 Legacy Series / Allow LAN1 to access devices on LAN2
December 29, 2023, 06:56:48 PM
My LAN1 network 192.168.1.1 and LAN2 is 192.168.18.1
I have an AP and a server running in LAN2 i would like to access from LAN1.
I see a lot of results for this but people usually need blocking or specific ip accessing specific ip.
I have named LAN2 network AP. I tried to add rule in LAN1 but i keep messing because i don't know if i need to use LAN net LAN address etc same for AP net AP address...
I am the sole user of this network so i would like all these devices to be able to communicate between them, maybe even make a network dir on the server to share with the TV etc.
#2
AHA ok now i understand how this works. Digging around i have currently found a way to add latency from bash:

ipfw pipe 1 config delay 15ms
ipfw pipe 2 config delay 15ms
ipfw add 15 pipe 1 all from any to any in via igb0
ipfw add 15 pipe 2 all from any to any out via igb0

15ms in and 15ms out + my real ping

Do you think this is correct, i mean can i use this just to add delay and not drop anything ?
BTW how can i delete all i did in the "Shaper" category?
#3
Nice yes i have tried its working the problem i have is that it also drops a lot of packets. It used to drop a few on my isp router but it seems since i activated this queue it drops 2 or 3 times more. Anyway man thanks for the help this is what i wanted. Are there any other queues i can use instea of fq codel?
#4
Oh OK i can see where i failed now, the tutorial is very good thank you very much for this. I will test high ping for inline FPS games because you know... lagcompensation, my real ping is always 5ms and i get crippled by network algorithm a lot, specially notable in games like Counter-Strike 2. One more question, if i only want outbound lag i just leave enabled the "Out" rule?
#5
Yes i have seen the delay box but it doesn't work or maybe i'm not doing it as i should, can you provide a pic with an example please?
#6
Thanks for the reply i just gave it a try and it seems i don't know how to successfully add a rule to delay the packets, could you share an example ? My line is 350/300 MB i don't mind to have bandwidth limit ON, that way i don't exceed the line speed and lose packets when downloading etc.
#7
Hello guys! I am new here i just installed OPNsense on a xeon machine i had laying around and everything pretty much works without issues. I am wondering how can i add artificial latency to the WAN interface. On my last router which had linux installed i was using these commands in order to add or remove the latency.

sudo tc qdisc add dev eth0 root netem delay 50ms
sudo tc qdisc del dev eth0 root netem

I did find dummynet but i really don't have a clue how to use it, all the delay examples are from 15 years ago and my english is not so good. I just need a little help please, i know how to move around in console and i know my WAN interface name is igb0 so that's not really an issue. Also is it possible to add the delay only for outbound packets?  8)