Go to advanced search

by lucdig
Tue Dec 24, 2019 6:35 pm
Forum: Networking and servers
Topic: [SOLVED] Strongswan multiple ikev2 clients not working
Replies: 3
Views: 995

Re: [SOLVED] Strongswan multiple ikev2 clients not working

If you're having a look at strongSwan, you might want to check out https://github.com/gitbls/pistrong , which makes it super-easy to install and manage strongSwan using Certs rather than passwords. It simplifies a LOT, and eliminates the need to edit config files. And yes, strongSwan is quite fast....
by lucdig
Tue Dec 24, 2019 9:36 am
Forum: Networking and servers
Topic: [SOLVED] Strongswan multiple ikev2 clients not working
Replies: 3
Views: 995

Re: [SOLVED] Strongswan multiple ikev2 clients not working

Hi, for those who are interested, I achieved to have two VPN clients working simultaneously. For each client configured in /etc/ipsec.secrets : : PSK "your_psk" username1 : EAP "pwd1" username2 : EAP "pwd2" in /etc/ipsec.conf I have configured a different connection, with a different subnet: ... con...
by lucdig
Mon Dec 23, 2019 6:15 pm
Forum: Networking and servers
Topic: [SOLVED] Strongswan multiple ikev2 clients not working
Replies: 3
Views: 995

[SOLVED] Strongswan multiple ikev2 clients not working

Hi, I decided to test strongswan ikev2 vpn in my raspberry, I've read that it's faster than OpenVPN. I followed this tutorial: https://nerd.one/how-to-setup-strongswan-vpn-with-ikev2-on-raspberry-pi/ and it works with one client. When I add a second client to the ipsec.secrets, and changed according...
by lucdig
Sun Dec 22, 2019 8:07 am
Forum: Networking and servers
Topic: DMZ host - blocking external IPs doing port scanning
Replies: 9
Views: 927

Re: DMZ host - blocking external IPs doing port scanning

Thanks, I'm going to study and try fail2ban
by lucdig
Sat Dec 21, 2019 3:13 pm
Forum: Networking and servers
Topic: DMZ host - blocking external IPs doing port scanning
Replies: 9
Views: 927

Re: DMZ host - blocking external IPs doing port scanning

Well, I don't think that bad guys are "only" scripts, absolutely. I can't have stations everywhere for "weather forecasting", anyway, big organizations have more resources than me, and, hopefully, they`ll plan to do something about this. An home-made IDS could be more difficult to disable by an hack...
by lucdig
Sat Dec 21, 2019 8:43 am
Forum: Networking and servers
Topic: DMZ host - blocking external IPs doing port scanning
Replies: 9
Views: 927

Re: DMZ host - blocking external IPs doing port scanning

Easier than coding raw nftables (aka iptables) is to install the uncomplicated firewall (ufw) and possibly the GUI for it (gufw). That will build the nftable rules you need. Default is block nothing. It's trivial to block everything except ssh (and http/https) so that it's only accessible from your...
by lucdig
Sat Dec 21, 2019 8:34 am
Forum: Networking and servers
Topic: DMZ host - blocking external IPs doing port scanning
Replies: 9
Views: 927

Re: DMZ host - blocking external IPs doing port scanning

One way would be to use iptables, although there may be some shortcomings relative to your goals: a) Not sure you can log from iptables to a random file of your choosing, and b) You need to hardcode in your iptables rules the ports that you want to log. You CAN use --dport lowport:highport to minim...
by lucdig
Fri Dec 20, 2019 9:13 pm
Forum: Networking and servers
Topic: DMZ host - blocking external IPs doing port scanning
Replies: 9
Views: 927

DMZ host - blocking external IPs doing port scanning

I've configured my raspberry as DMZ host in the home router, and I see with a tcpdump a lot of external hosts doing port scanning. I would like to log the external IP addresses that scan ports that are not opened in the raspberry. I know that IDSs exist, like snort, anyway, I would like to use somet...
by lucdig
Mon Dec 16, 2019 10:32 am
Forum: Media centres
Topic: mpeg ts multicast stream - reduce bitrate
Replies: 0
Views: 328

mpeg ts multicast stream - reduce bitrate

Hi, I need your help for the following. I have a multicast stream with an mpeg ts coded audio+video, with a ~8Mbit/s bitrate. I need to lower the bitrate to ~ 4Mbit/s. I tried with cvlc, option :sout-transcode-vb=4000, but the output stream seems to be again at ~8Mbit/s. Any idea? is ffmpeg better t...
by lucdig
Sun Nov 17, 2019 1:35 pm
Forum: Media centres
Topic: rtl2838: unknown tuner NONE
Replies: 3
Views: 730

Re: rtl2838: unknown tuner NONE

Hi, it's the Raspberry Pi 0 first model, powered with 2A. Soon I'll post the output of the lsusb -v command.

Regards, thanks
by lucdig
Sat Nov 16, 2019 1:06 pm
Forum: Media centres
Topic: rtl2838: unknown tuner NONE
Replies: 3
Views: 730

rtl2838: unknown tuner NONE

Hi, I bought an RTL2838 device, it doesn't work in my raspberry. # uname -a Linux raspberrypi 4.19.75+ #1270 Tue Sep 24 18:38:54 BST 2019 armv6l GNU/Linux dmesg tells me: unknown tuner NONE: # dmesg | grep -i dvb [ 16.961291] usb 1-1.3: dvb_usb_v2: found a 'Realtek RTL2832U reference design' in warm...
by lucdig
Wed Nov 06, 2019 12:14 pm
Forum: Media centres
Topic: DVBSky S960 V2 USB , dvblast and tsduck tsp
Replies: 0
Views: 1676

DVBSky S960 V2 USB , dvblast and tsduck tsp

Hi, I have problems with the DVBSky S960 V2 USB when I try to use it with dvblast . I tried dvblast with a Pctv 461e , with no issues. I installed in /lib/firmware the drivers found here: http://www.dvbsky.net/download/linux/firmware.zip # dmesg | grep dvb [ 17.453675] usb 1-1.3: dvb_usb_v2: found a...
by lucdig
Sun Oct 27, 2019 11:07 am
Forum: Networking and servers
Topic: Multicast traffic blocked between LANs?
Replies: 2
Views: 1200

Re: Multicast traffic blocked between LANs?

Hi, for those who are interested in this topic: Raspbian, by default, comes without multicast routing capabilities. When a device sends multicast traffic through LAN1 ( eth1 in the Raspberry Pi), it sets a destination multicast MAC address Address: IPv4mcast_15 (01:00:5e:00:00:15) - capture with Wir...
by lucdig
Fri Oct 18, 2019 11:31 am
Forum: Networking and servers
Topic: Multicast traffic blocked between LANs?
Replies: 2
Views: 1200

Re: Multicast traffic blocked between LANs?

Thanks, I’ll test it, and with

Code: Select all

... dev lo
as well.
by lucdig
Fri Oct 18, 2019 9:48 am
Forum: Networking and servers
Topic: Multicast traffic blocked between LANs?
Replies: 2
Views: 1200

Multicast traffic blocked between LANs?

Hi, I'm going to buy a Raspberry and connect it to my Home LAN 192.168.1.0/24. I'll buy an Ethernet USB adapter as well for the Raspberry https://thepihut.com/products/adafruit-ethernet-hub-and-usb-hub-w-micro-usb-otg-connector . I'll connect a device that generates multicast traffic (Destination 23...
by lucdig
Fri Oct 18, 2019 9:27 am
Forum: Media centres
Topic: Raspberry Pi as HDMI wireless transmitter/receiver?
Replies: 15
Views: 7304

Re: Raspberry Pi as HDMI wireless transmitter/receiver?

I surfed the web and I found this device (the sender): LKV373A V3.0 HDMI Extender HD 1080P Over Lan RJ45 Cat5/6 It's about $30 in eBay, cheaper than HDMI USB 3.0 capture devices, and connection to the LAN. I've ordered one, I'll have it hopefully in 1 month, it's from China. Well documented work has...
by lucdig
Mon Oct 14, 2019 3:45 pm
Forum: Media centres
Topic: Raspberry Pi as HDMI wireless transmitter/receiver?
Replies: 15
Views: 7304

Re: Raspberry Pi as HDMI wireless transmitter/receiver?

Ok, thanks a lot Hey @jj_0, can you capture in Linux both video and audio with your USB device? Yes, on my regular Ubuntu laptop I've captured both video and audio using OBS Studio. On the Pi 4 it captures video and audio with VLC. Thanks. I've tried both HDMI (Measy 585, 5.8Ghz) and SD (Metronic, ...
by lucdig
Mon Oct 14, 2019 10:23 am
Forum: Media centres
Topic: Raspberry Pi as HDMI wireless transmitter/receiver?
Replies: 15
Views: 7304

Re: Raspberry Pi as HDMI wireless transmitter/receiver?

Hey, thanks. Can it connect to Wifi, and used as a streaming server? I would connect a Fire Stick with VLC Player via WiFi It's a USB device, so you need to connect it to your TV an then via USB to the Pi and then stream via e.g. VLC via WiFi (or ethernet) to the Firestick (or another Pi). I suppos...
by lucdig
Wed Oct 09, 2019 10:45 pm
Forum: Media centres
Topic: ffmpeg as rtsp server
Replies: 0
Views: 1715

ffmpeg as rtsp server

I know that ffmpeg can send rtsp to a url.

What about using ffmeg as broadcast streaming server? I mean, ffmpeg opens a tcp port and listens for connections (by vlc plyer, for instance)?

Thanks, regards
by lucdig
Wed Oct 09, 2019 8:31 am
Forum: Media centres
Topic: Raspberry Pi as HDMI wireless transmitter/receiver?
Replies: 15
Views: 7304

Re: Raspberry Pi as HDMI wireless transmitter/receiver?

Or use an USB 3.0 HDMI capture device , slightly cheaper (at the time of writing at €55) and supports 1920x1080@60fps. I have this at home, haven't connected to to an RPI yet but it works fine on my Linux laptop. Allegedly also supports 4K but I've only used it at 1920x1080@60fps. Hey, thanks. Can ...
by lucdig
Tue Oct 08, 2019 4:53 pm
Forum: Media centres
Topic: Raspberry Pi as HDMI wireless transmitter/receiver?
Replies: 15
Views: 7304

Re: Raspberry Pi as HDMI wireless transmitter/receiver?

Or use an USB 3.0 HDMI capture device , slightly cheaper (at the time of writing at €55) and supports 1920x1080@60fps. I have this at home, haven't connected to to an RPI yet but it works fine on my Linux laptop. Allegedly also supports 4K but I've only used it at 1920x1080@60fps. Hey, thanks. Can ...
by lucdig
Tue Oct 08, 2019 2:39 pm
Forum: Media centres
Topic: Raspberry Pi as HDMI wireless transmitter/receiver?
Replies: 15
Views: 7304

Re: Raspberry Pi as HDMI wireless transmitter/receiver?

I see. There is a HDMI CSI2 converter at €69.80 https://auvidea.eu/b101-hdmi-to-csi-2-bridge-15-pin-fpc/ Maybe a Measy device is the cheaper solution https://www.amazon.com/Wireless-Transmitter-Devices-Uncompress-Projector/dp/B07KZQ7MBH/ref=sr_1_fkmr1_2?keywords=Wireless+HDMI+Sender+Measy+HD585+Exte...
by lucdig
Tue Oct 08, 2019 1:34 pm
Forum: Media centres
Topic: Raspberry Pi as HDMI wireless transmitter/receiver?
Replies: 15
Views: 7304

Re: Raspberry Pi as HDMI wireless transmitter/receiver?

The DVB-S signal is encrypted, so I can't bypass the decoder
by lucdig
Tue Oct 08, 2019 1:12 pm
Forum: Media centres
Topic: Raspberry Pi as HDMI wireless transmitter/receiver?
Replies: 15
Views: 7304

Raspberry Pi as HDMI wireless transmitter/receiver?

Hi, I need a HDMI transmitter and receiver, I have a DVB-S decoder in the living room and I want to see channels in the kitchen. Some HDMI wireless tx/rx exist and you can find them in Amazon, anyway, >160$ . Can I do it with 2 Raspberry Pi? RPiA tx, RPIB rx: decoder in the living room --- HDMI --->...
by lucdig
Wed Jan 30, 2019 3:53 pm
Forum: Networking and servers
Topic: Remote tunneling certain port
Replies: 5
Views: 803

Re: Remote tunneling certain port

I think that you should change your command:

Code: Select all

pi@pi~$ ssh -N -R 2222:*.*.*.*:22 user@x.x.x.x

Go to advanced search