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 - pickone

#16
I found a solution for VERY fast disconnect/reconnect of the pppoe, but it is not changing my external dynamic IP.
This is what I used

ifconfig pppoe0 down
ifconfig pppoe0 up


Any solution to do this as fast as ifconfig does, but to change the external IP as well? Normally the extenal IP it is changing every time I restart the router
#17
Interesting, can you please tell me step by step, what I need to do? I have never worked with Virtual IPs
#18
My only solution till now, was to modify the subnet mask to 192.168.0.0/23, in order to cover 192.168.1.0-254 IPs. If someone have other idea, please share. Thanks!

PS: any disadvantages of using a network of ~500 possible addresses, instead of ~255 ?
#19
Oh, damn, this I didn't tried. I thought that putty is better.
Seems that it is working ok with the ssh of windows cmd. Thanks!

PS: if you have any idea how to make it work with putty as well, don't hesitate to tell me. I am trying to understand that putty is doing wrong.
#20
Yes, of course. I already did it in a proper way. I imported the key into puttygen, copy the code and pasted in opnsense, one line key, no line break
#21
SSH-2 RSA key (2048 bits), generated with puttygen

In opnsense, I added the public key to the root username, into the Authorized Keys field.
And used the private .ppk key with putty.

PS: I even created a different user, doesn't have nothing to do with what user I use, same error
#22
Hi!

There is any command I can use, in order to restart the PPPOE connection?  Disconnect, connect or even just restart, it would help me.

Using "service netif restart wan" it is way TOOO slow. I get a reconnection after more than 1-2 minutes. Any other command?

Thanks
#23
Hi!

I am trying to access my opnsense through SSH with authorized keys and it is not working, I always get this error from putty "Server refused our key".

This is all I done till now:

- Enabled "Enable Secure Shell", with "Permit root user login", because I want to use root user
- Generated keys with puttygen
- Pasted the public key into the root user
- Verified the file authorized_keys under .ssh, to be sure that everything is ok
- I open putty, I set the host and the SSH>AUTH private key

When I try to access opnsense, I get that error...

Any idea somebody?

Thanks
#24
Hi!

I have this network 192.168.0.0/24.
All the devices are connected to a switch and the switch it is connected to LAN1 of my opnsense.
Now, here is my problem: I have a device which is connected to the same switch, but the ip is 192.168.4.1 (it cannot be changed, if I change it, after restart will come back. Does not care, this is not the issue I have).
In my old tp-link router, I had a static route like this (see screenshot) and everything was ok, I could access that device (192.168.1.4) from my network (192.168.0.0/24)

Can someone please tell me how can I achieve the same result on my opnsense? But please, step by step, I'm very very new with opnsense and I try to understand more and more, but slow :-D

Thank you in advance.
#25
It is kinda strange...
I made LAN2 and LAN3 as green, then all the interfaces rules like this one:
QuoteIPv4 *    *    *    *    *    *    *       Default allow LAN to any rule

But still I can't ping the interface...  :(

I can ping them all (LAN1, LAN2, LAN3), from inside the router, at Interfaces > Diagnostics > Ping... But not from my computer. From my computer, only LAN1 can get ping
#26
Quote from: netnut on April 27, 2024, 07:49:43 PM
Quote from: pickone on April 27, 2024, 07:46:29 PM
After I add something to LAN2 and it will be green. I can ping even the interface 192.168.20.1? Or just the devices connected to LAN2? I am thinking to add a cable between LAN2 and LAN3  ;D

Both, if your firewall rules will allow it (which should by default from LAN).

Alright, thank you for the info.
Cheers
#27
Last question, just to be sure :-D

After I add something to LAN2 and it will be green. I can ping even the interface 192.168.20.1? Or just the devices connected to LAN2? I am thinking to add a cable between LAN2 and LAN3  ;D
#28
As a start, I just wanted to know what is the difference between those two cases:

1. Only adding interfaces into the Bridge Setting (thats it) only selecting interfaces there.
2. Making all the other actions, with the finished setting where I change the LAN to Bridge and create another interface for first lan port.

The result as practical use, I don't see any difference, because in any case, I can access the other LAN ports, as being a swtch. But I don't know what's the problem in the back.
#29
Alright, now I understand how it is working...
I need another device which should be in LAN2, then transmit a ping to this. I thought that because the interface have an IP, I can ping it as well.

Thank you for the explication.
#30
Quote from: netnut on April 27, 2024, 06:35:04 PM
Quote from: pickone on April 25, 2024, 11:12:43 AM

What I done and it is working, I assigned and enabled all the interfaces, I created the bridge with all the interfaces (including the LAN interface), without changing the LAN interface port to BRIDGE, it is working well. Every port have connection.

So... what's the catch?


So you configured a Bridge with LAN, OPT1/2/3/4 ?

Question: The LAN interface by default was/is 192.168.1.1, which interface is assigned with this address (or if you changed it from default, the changed one) still on your LAN interface or on the new Bridge device ?

Yes, I have configured all as Bridge
192.168.1.1 default for LAN interface

I have not touched anything on the Bridge part, I only added the interfaces as bridge, in the bridge setting. I selected all the interfaces, except WAN