Crowdsec on Ubuntu

Hey I have a question how can I change from IPv6 to v4 cause no matter how often I try it binds always to v6 wich I don’t even use.
14 Replies
iiamloz
iiamloz11mo ago
Are you trying to bind to all interfaces? EG: 0.0.0.0?
xyos1337
xyos1337OP11mo ago
tbh no clue how to manual bind was not able to find something somewhere maybe i did not look right it auto binds it to the v6
iiamloz
iiamloz11mo ago
by default the install should be 127.0.0.1 so I guess it would only bind ipv4 loopback, so are you trying to alter the value to something non default is my question
xyos1337
xyos1337OP11mo ago
i just installed the Agent and Bouncer and some Hub scenarios
iiamloz
iiamloz11mo ago
Okay, sorry maybe my questioning causing some confusion. What are you experiencing that you want to not happen?
xyos1337
xyos1337OP11mo ago
the agent binds to the IPv6 of my server instead of the v4 and im trying to figure out how to change it xD cause the v6 is not in use at all
iiamloz
iiamloz11mo ago
Yes but you need to explain what you are seeing, include some pictures or output of a command to show what is happening, cause saying v6, I dont see what you are seeing so I am kind off blind
xyos1337
xyos1337OP11mo ago
i see sorry what do you need from me
iiamloz
iiamloz11mo ago
An example of the problem you are seeing, which process is binding to v6 that you dont want too?
xyos1337
xyos1337OP11mo ago
how 2 change this to the v4 address of my server
xyos1337
xyos1337OP11mo ago
i had it installed yesterday in docker and it binded the right IP to the security engine, but yeeted my whole server. I recreated my whole server today and decided to run it on the host system itself and since then it only binds to the v6 instead of the v4
iiamloz
iiamloz11mo ago
Ohhhh I see, you cant. This is the IP address that communicates to our servers, so it depends on how you configure you linux sever you can make it a priority to communicate over ipv4 and I guess since docker is ipv4 only unless specified it routed the packets through ipv4
xyos1337
xyos1337OP11mo ago
aight i give it a try then because yesterday it had like 20 alerts in few mins and today there is nothing going on

Did you find this page helpful?