Raspberry Pi 4b, OpenWrt and OpenVPN

I’m receiving an error at the last step below of configuring the VPN service. My error is:

sed: unsupported command >

What I typed in was:

root@OpenWrt:/etc/openvpn# sed -i -e “
> \$a auth-user-pass ${OVPN_ID}.auth
> \$a redirect-gateway def1 ivp6
“ ${OVPN_DIR}/${OVPN_ID}.conf

After hitting enter here, I get the error in bold above.

Can someone point me in the right direction of what I am doing wrong? Thanks!

What instructions are you following? Generally sed is a one-line command. Looks like you’ve maybe copied/pasted someone else’s output with line continuations (shown as > ).

hmmm. That could be the issue. Let me try again and see what happens. I didn't notice that. I will advise.

that was too easy to fix. surprised I missed that but it works now.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.